diff options
| author | bors <bors@rust-lang.org> | 2021-08-08 10:23:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-08-08 10:23:17 +0000 |
| commit | e8c25f266349a68faa8c4fb68f5c1d5e4512790f (patch) | |
| tree | 0953637c8083e73e869dcf44cead0f6395d16629 /library/std/src/sys_common/process.rs | |
| parent | c4c2986c499ee9440b7ae23bf5a62c6168e1ce17 (diff) | |
| parent | 26bf0ef0b5a70a70a6e0f85533bb3ca1404e9650 (diff) | |
| download | rust-e8c25f266349a68faa8c4fb68f5c1d5e4512790f.tar.gz rust-e8c25f266349a68faa8c4fb68f5c1d5e4512790f.zip | |
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`. ```
Diffstat (limited to 'library/std/src/sys_common/process.rs')
0 files changed, 0 insertions, 0 deletions
