Add proc_macro attribute documentation#158962
Open
josetorrs wants to merge 1 commit into
Open
Conversation
This comment has been minimized.
This comment has been minimized.
proc_macr attribute documentationproc_macro attribute documentation
80 tasks
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; |
Member
There was a problem hiding this comment.
Suggested change
| /// extern crate proc_macro; | |
| /// # extern crate proc_macro; |
GuillaumeGomez
requested changes
Jul 9, 2026
Collaborator
|
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.
Co-authored-by: Guillaume Gomez <contact@guillaume-gomez.fr>
1574cdf to
421ffc1
Compare
Collaborator
|
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
approved these changes
Jul 15, 2026
Member
|
Thanks! @bors r+ rollup |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
part of #157604
r? @GuillaumeGomez
cc: @fmease
(I wasn't sure who to exactly tag. I see several PR's switch between you two)