This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ use rustc_target::spec::abi::Abi;
2323
2424pub mod blocks;
2525mod collector;
26- mod hir_id_validator;
27- pub use hir_id_validator:: check_crate;
2826
2927/// Represents an entry and its parent `HirId`.
3028#[ derive( Copy , Clone , Debug ) ]
Original file line number Diff line number Diff line change @@ -776,7 +776,7 @@ pub fn create_global_ctxt<'tcx>(
776776fn analysis ( tcx : TyCtxt < ' _ > , cnum : CrateNum ) -> Result < ( ) > {
777777 assert_eq ! ( cnum, LOCAL_CRATE ) ;
778778
779- rustc :: hir :: map :: check_crate ( tcx) ;
779+ rustc_passes :: hir_id_validator :: check_crate ( tcx) ;
780780
781781 let sess = tcx. sess ;
782782 let mut entry_point = None ;
Original file line number Diff line number Diff line change 1- use crate :: hir:: map:: Map ;
2- use crate :: ty:: TyCtxt ;
1+ use rustc :: hir:: map:: Map ;
2+ use rustc :: ty:: TyCtxt ;
33use rustc_data_structures:: fx:: FxHashSet ;
44use rustc_data_structures:: sync:: { par_iter, Lock , ParallelIterator } ;
55use rustc_hir as hir;
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ mod check_const;
2121pub mod dead;
2222mod diagnostic_items;
2323pub mod entry;
24+ pub mod hir_id_validator;
2425pub mod hir_stats;
2526mod intrinsicck;
2627mod lang_items;
You can’t perform that action at this time.
0 commit comments