-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Change proc_macro::Diagnostics docs #87836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @petrochenkov (or someone else) soon. Please see the contribution instructions for more information. |
Could you wrap the lines to fit into the usual 100-character limit? r=me after doing that and squashing commits. |
Add links Fit 100-character limit
Hi, I'm not quite sure about the indentation so I just put it in line with |
Thanks! |
📌 Commit 75e8035 has been approved by |
@tsoutsman |
@bors r+ |
📌 Commit 26bf0ef has been approved by |
Sorry, I was just playing around with the repository. I'm not too familiar with git. |
☀️ Test successful - checks-actions |
With Rust 1.54 attributes can invoke function-like macros. This allows functions generated by macros to have non-generic documentation. This pull request changes the documentation of
proc_macro::Diagnostics
to be more specific and include a link to the level.Example
Before:
After: