e8c25f2663
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`. ``` |
||
---|---|---|
.. | ||
alloc | ||
backtrace@221483ebaf | ||
core | ||
panic_abort | ||
panic_unwind | ||
proc_macro | ||
profiler_builtins | ||
rtstartup | ||
rustc-std-workspace-alloc | ||
rustc-std-workspace-core | ||
rustc-std-workspace-std | ||
std | ||
stdarch@c158cfd38e | ||
test | ||
unwind |