diff options
| author | bors <bors@rust-lang.org> | 2021-10-07 14:22:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-10-07 14:22:16 +0000 |
| commit | 0157cc977fd71297ce73e2f249321f5ba2555d42 (patch) | |
| tree | be8947b6d6d893a11a676a363f1374248d34e1b9 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 680ff86391f19e12b485293f01372036e85ba87c (diff) | |
| parent | a8d8bfd3763cfde5a27dc7babd6691f1b3d65840 (diff) | |
| download | rust-0157cc977fd71297ce73e2f249321f5ba2555d42.tar.gz rust-0157cc977fd71297ce73e2f249321f5ba2555d42.zip | |
Auto merge of #89534 - camsteffen:diag-name, r=oli-obk
Introduce `tcx.get_diagnostic_name` Introduces a "reverse lookup" for diagnostic items. This is mainly intended for `@rust-lang/clippy` which often does a long series of `is_diagnostic_item` calls for the same `DefId`. r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
