rust/compiler/rustc_middle/src
bors 0157cc977f 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`
2021-10-07 14:22:16 +00:00
..
dep_graph Auto merge of #89266 - cjgillot:session-ich, r=michaelwoerister 2021-10-05 09:45:11 +00:00
hir Remove re-export. 2021-10-03 16:08:54 +02:00
infer Miscellaneous inlining improvements 2021-06-02 08:49:58 +02:00
middle Remove re-export. 2021-10-03 16:08:54 +02:00
mir Remove re-export. 2021-10-03 16:08:54 +02:00
query Introduce get_diagnostic_name 2021-10-06 08:40:28 -05:00
thir add a CastKind to Node::Cast 2021-09-09 01:32:03 +01:00
traits Remove re-export. 2021-10-03 16:08:54 +02:00
ty Auto merge of #89534 - camsteffen:diag-name, r=oli-obk 2021-10-07 14:22:16 +00:00
util
arena.rs Move rustc_middle::middle::cstore to rustc_session. 2021-10-03 16:08:51 +02:00
lib.rs Auto merge of #89266 - cjgillot:session-ich, r=michaelwoerister 2021-10-05 09:45:11 +00:00
lint.rs Auto merge of #89266 - cjgillot:session-ich, r=michaelwoerister 2021-10-05 09:45:11 +00:00
macros.rs
tests.rs
thir.rs rename mir -> thir around abstract consts 2021-09-09 01:32:03 +01:00