Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #87836 - tsoutsman:master, r=petrochenkov
Change proc_macro::Diagnostics docs 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: ```markdown Adds a new child diagnostic message to `self` with the level identified by this method’s name with the given `message`. ``` After: ```markdown Adds a new child diagnostic message to self with the [`Level::Error`] level, and the given `message`. ```
- Loading branch information