@@ -4,7 +4,7 @@ use std::sync::Arc;
44
55use rustc_ast:: { LitKind , MetaItemKind , token} ;
66use rustc_codegen_ssa:: traits:: CodegenBackend ;
7- use rustc_data_structures:: fx:: { FxHashMap , FxHashSet } ;
7+ use rustc_data_structures:: fx:: FxHashSet ;
88use rustc_data_structures:: jobserver:: { self , Proxy } ;
99use rustc_data_structures:: stable_hasher:: StableHasher ;
1010use rustc_errors:: { DiagCtxtHandle , ErrorGuaranteed } ;
@@ -19,7 +19,7 @@ use rustc_parse::parser::attr::AllowLeadingUnsafe;
1919use rustc_query_impl:: print_query_stack;
2020use rustc_session:: config:: { self , Cfg , CheckCfg , ExpectedValues , Input , OutFileName } ;
2121use rustc_session:: parse:: ParseSess ;
22- use rustc_session:: { CompilerIO , EarlyDiagCtxt , Session , lint } ;
22+ use rustc_session:: { CompilerIO , EarlyDiagCtxt , Session } ;
2323use rustc_span:: source_map:: { FileLoader , RealFileLoader , SourceMapInputs } ;
2424use rustc_span:: { FileName , sym} ;
2525use rustc_target:: spec:: Target ;
@@ -332,8 +332,6 @@ pub struct Config {
332332 /// running rustc without having to save". (See #102759.)
333333 pub file_loader : Option < Box < dyn FileLoader + Send + Sync > > ,
334334
335- pub lint_caps : FxHashMap < lint:: LintId , lint:: Level > ,
336-
337335 /// This is a callback from the driver that is called when [`ParseSess`] is created.
338336 pub psess_created : Option < Box < dyn FnOnce ( & mut ParseSess ) + Send > > ,
339337
@@ -454,7 +452,6 @@ pub fn run_compiler<R: Send>(config: Config, f: impl FnOnce(&Compiler) -> R + Se
454452 temps_dir,
455453 } ,
456454 bundle,
457- config. lint_caps ,
458455 target,
459456 util:: rustc_version_str ( ) . unwrap_or ( "unknown" ) ,
460457 config. ice_file ,
0 commit comments