@@ -27,6 +27,7 @@ use rustc_errors::PResult;
2727use rustc_expand:: base:: ExtCtxt ;
2828use rustc_hir:: def_id:: { CrateNum , LOCAL_CRATE } ;
2929use rustc_incremental;
30+ use rustc_lint:: LintStore ;
3031use rustc_mir as mir;
3132use rustc_parse:: { parse_crate_from_file, parse_crate_from_source_str} ;
3233use rustc_passes:: { self , hir_stats, layout_test} ;
@@ -100,7 +101,7 @@ declare_box_region_type!(
100101/// Returns `None` if we're aborting after handling -W help.
101102pub fn configure_and_expand (
102103 sess : Lrc < Session > ,
103- lint_store : Lrc < lint :: LintStore > ,
104+ lint_store : Lrc < LintStore > ,
104105 metadata_loader : Box < MetadataLoaderDyn > ,
105106 krate : ast:: Crate ,
106107 crate_name : & str ,
@@ -150,10 +151,10 @@ impl BoxedResolver {
150151pub fn register_plugins < ' a > (
151152 sess : & ' a Session ,
152153 metadata_loader : & ' a dyn MetadataLoader ,
153- register_lints : impl Fn ( & Session , & mut lint :: LintStore ) ,
154+ register_lints : impl Fn ( & Session , & mut LintStore ) ,
154155 mut krate : ast:: Crate ,
155156 crate_name : & str ,
156- ) -> Result < ( ast:: Crate , Lrc < lint :: LintStore > ) > {
157+ ) -> Result < ( ast:: Crate , Lrc < LintStore > ) > {
157158 krate = sess. time ( "attributes_injection" , || {
158159 rustc_builtin_macros:: cmdline_attrs:: inject (
159160 krate,
@@ -214,7 +215,7 @@ pub fn register_plugins<'a>(
214215
215216fn configure_and_expand_inner < ' a > (
216217 sess : & ' a Session ,
217- lint_store : & ' a lint :: LintStore ,
218+ lint_store : & ' a LintStore ,
218219 mut krate : ast:: Crate ,
219220 crate_name : & str ,
220221 resolver_arenas : & ' a ResolverArenas < ' a > ,
@@ -420,7 +421,7 @@ fn configure_and_expand_inner<'a>(
420421
421422pub fn lower_to_hir < ' res , ' tcx > (
422423 sess : & ' tcx Session ,
423- lint_store : & lint :: LintStore ,
424+ lint_store : & LintStore ,
424425 resolver : & ' res mut Resolver < ' _ > ,
425426 dep_graph : & ' res DepGraph ,
426427 krate : & ' res ast:: Crate ,
@@ -705,7 +706,7 @@ impl<'tcx> QueryContext<'tcx> {
705706
706707pub fn create_global_ctxt < ' tcx > (
707708 compiler : & ' tcx Compiler ,
708- lint_store : Lrc < lint :: LintStore > ,
709+ lint_store : Lrc < LintStore > ,
709710 hir_forest : & ' tcx map:: Forest < ' tcx > ,
710711 mut resolver_outputs : ResolverOutputs ,
711712 outputs : OutputFilenames ,
0 commit comments