]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #92619 - Alexendoo:macro-diagnostic-items, r=matthewjasper
authorMatthias Krüger <matthias.krueger@famsik.de>
Sun, 16 Jan 2022 15:58:14 +0000 (16:58 +0100)
committerGitHub <noreply@github.com>
Sun, 16 Jan 2022 15:58:14 +0000 (16:58 +0100)
commitcf4549c920a62a0bc71357172d8471bb4182637b
tree5165ccf497764a5460375702afadab7969491a1e
parent391b66ccff335a098873a5b644f0842e7fe1bf76
parent7ea03db04a38bd5bb8ad13ee805d94833aacf032
Rollup merge of #92619 - Alexendoo:macro-diagnostic-items, r=matthewjasper

Add diagnostic items for macros

For use in Clippy, it adds diagnostic items to all the stable public macros

Clippy has lints that look for almost all of these (currently by name or path), but there are a few that aren't currently part of any lint, I could remove those if it's preferred to add them as needed rather than ahead of time
compiler/rustc_span/src/symbol.rs