Add proc_macro attribute documentation#158962
Conversation
This comment has been minimized.
This comment has been minimized.
proc_macr attribute documentationproc_macro attribute documentation
This comment has been minimized.
This comment has been minimized.
| /// the [`TokenStream`] that replaces the invocation: | ||
| /// | ||
| /// ```rust, ignore (requires depending on the proc-macro crate) | ||
| /// extern crate proc_macro; |
There was a problem hiding this comment.
| /// extern crate proc_macro; | |
| /// # extern crate proc_macro; |
|
Reminder, once the PR becomes ready for a review, use |
3a7e475 to
1574cdf
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1574cdf to
421ffc1
Compare
This comment has been minimized.
This comment has been minimized.
|
Thanks! @bors r+ rollup |
…uwer Rollup of 8 pull requests Successful merges: - #159197 (Rename ModDefId to ModId and use more) - #159222 (semicolon_in_expressions_from_macros: Lint on non-local macros too) - #159296 (Implement `bool::toggle`) - #158302 (Fix `overflowing_literals` lint with repeated negation) - #158484 (Add documentation for the `cold` and `track_caller` attributes) - #159239 (Add codegen test for remainder match) - #159330 (fix some edition annotations in UI tests) - #159331 (Fix ignore-llvm-version directive in codegen-llvm/array-equality.rs) Failed merges: - #158962 (Add `proc_macro` attribute documentation)
…uwer Rollup of 8 pull requests Successful merges: - #159197 (Rename ModDefId to ModId and use more) - #159222 (semicolon_in_expressions_from_macros: Lint on non-local macros too) - #159296 (Implement `bool::toggle`) - #158302 (Fix `overflowing_literals` lint with repeated negation) - #158484 (Add documentation for the `cold` and `track_caller` attributes) - #159239 (Add codegen test for remainder match) - #159330 (fix some edition annotations in UI tests) - #159331 (Fix ignore-llvm-version directive in codegen-llvm/array-equality.rs) Failed merges: - #158962 (Add `proc_macro` attribute documentation)
…uwer Rollup of 8 pull requests Successful merges: - #159197 (Rename ModDefId to ModId and use more) - #159222 (semicolon_in_expressions_from_macros: Lint on non-local macros too) - #159296 (Implement `bool::toggle`) - #158302 (Fix `overflowing_literals` lint with repeated negation) - #158484 (Add documentation for the `cold` and `track_caller` attributes) - #159239 (Add codegen test for remainder match) - #159330 (fix some edition annotations in UI tests) - #159331 (Fix ignore-llvm-version directive in codegen-llvm/array-equality.rs) Failed merges: - #158962 (Add `proc_macro` attribute documentation)
…documentation, r=GuillaumeGomez Add `proc_macro` attribute documentation part of rust-lang#157604 r? @GuillaumeGomez cc: @fmease (I wasn't sure who to exactly tag. I see several PR's switch between you two)
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Guillaume Gomez <contact@guillaume-gomez.fr>
421ffc1 to
4bf0b76
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@GuillaumeGomez I ended getting another conflict but not sure how to use bors here |
|
@bors r+ rollup |
This comment has been minimized.
This comment has been minimized.
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing d0babd8 (parent) -> fcbe791 (this PR) Test differencesShow 10 test diffs10 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard fcbe7917ba18120d9eda136f1c7c5a60c78e554e --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (fcbe791): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)Results (primary -2.5%, secondary 3.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -2.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 491.731s -> 489.999s (-0.35%) |
part of #157604
r? @GuillaumeGomez
cc: @fmease
(I wasn't sure who to exactly tag. I see several PR's switch between you two)