rust/compiler/rustc_passes/src
Matthias Krüger 230c9e91fd
Rollup merge of #107515 - Swatinem:hirvalidator, r=compiler-errors
Improve pretty-printing of `HirIdValidator` errors

This now uses `node_to_string` for both missing and seen Ids, which includes the snippet of code for which the Id was allocated. Also removes the duplicated printing of `HirId`, as `node_to_string` also includes that.
2023-02-02 17:14:06 +01:00
..
liveness Use iter::zip in compiler/ 2021-03-26 09:32:31 -07:00
check_attr.rs Auto merge of #107257 - inquisitivecrystal:ffi-attr, r=davidtwco 2023-02-01 11:37:24 +00:00
check_const.rs session: diagnostic migration lint on more fns 2023-01-30 17:11:35 +00:00
dead.rs Consider #[allow(dead_code)] before lang items 2023-01-30 10:54:33 +00:00
debugger_visualizer.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
diagnostic_items.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
entry.rs Move compiler input and ouput paths into session 2023-01-16 14:46:44 +00:00
errors.rs Auto merge of #107257 - inquisitivecrystal:ffi-attr, r=davidtwco 2023-02-01 11:37:24 +00:00
hir_id_validator.rs Improve pretty-printing of HirIdValidator errors 2023-02-01 20:09:22 +01:00
hir_stats.rs Take a LocalDefId in hir::Visitor::visit_fn. 2023-01-28 09:51:50 +00:00
lang_items.rs Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
layout_test.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
lib.rs Lint against usages of struct_span_lint_hir. 2022-10-29 18:03:47 +08:00
lib_features.rs fix: don't emit E0711 if staged_api not enabled 2023-01-14 22:04:42 +13:00
liveness.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
loops.rs Specify that break cannot be used outside of loop *or* labeled block 2022-11-05 01:12:58 +00:00
naked_functions.rs migrate naked_functions.rs to translateable diagnostics 2022-10-07 13:19:27 -06:00
reachable.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
stability.rs Replace some _ == _ || _ == _s with matches!(_, _ | _)s 2023-01-30 12:26:26 +00:00
upvars.rs rustc_hir: Relax lifetime requirements on Visitor::visit_path 2022-12-01 17:04:02 +03:00
weak_lang_items.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00