@@ -9,12 +9,14 @@ pub use self::UnOp::*;
99pub use self :: UnsafeSource :: * ;
1010
1111use crate :: hir:: def:: { DefKind , Res } ;
12- use crate :: hir:: def_id:: { DefId , DefIndex } ;
13- use crate :: ty:: query:: Providers ;
12+ use crate :: hir:: def_id:: DefId ;
13+ use crate :: hir:: itemlikevisit;
14+ use crate :: hir:: print;
1415
1516use errors:: FatalError ;
1617use rustc_data_structures:: fx:: FxHashSet ;
1718use rustc_data_structures:: sync:: { par_for_each_in, Send , Sync } ;
19+ use rustc_hir:: hir_id:: * ;
1820use rustc_macros:: HashStable ;
1921use rustc_session:: node_id:: NodeMap ;
2022use rustc_span:: source_map:: { SourceMap , Spanned } ;
@@ -31,17 +33,6 @@ pub use syntax::ast::{CaptureBy, Constness, Movability, Mutability, Unsafety};
3133use syntax:: tokenstream:: TokenStream ;
3234use syntax:: util:: parser:: ExprPrecedence ;
3335
34- pub mod check_attr;
35- pub mod def;
36- pub use rustc_hir:: def_id;
37- pub use rustc_hir:: hir_id:: * ;
38- pub mod intravisit;
39- pub mod itemlikevisit;
40- pub mod map;
41- pub mod pat_util;
42- pub mod print;
43- pub mod upvars;
44-
4536#[ derive( Copy , Clone , RustcEncodable , RustcDecodable , HashStable ) ]
4637pub struct Lifetime {
4738 pub hir_id : HirId ,
@@ -2581,12 +2572,6 @@ pub type TraitMap = NodeMap<Vec<TraitCandidate>>;
25812572// imported.
25822573pub type GlobMap = NodeMap < FxHashSet < Name > > ;
25832574
2584- pub fn provide ( providers : & mut Providers < ' _ > ) {
2585- check_attr:: provide ( providers) ;
2586- map:: provide ( providers) ;
2587- upvars:: provide ( providers) ;
2588- }
2589-
25902575#[ derive( Copy , Clone , Debug ) ]
25912576pub enum Node < ' hir > {
25922577 Param ( & ' hir Param < ' hir > ) ,
0 commit comments