@@ -54,8 +54,6 @@ pub use diagnostic_impls::{
5454 DiagArgFromDisplay , DiagSymbolList , ElidedLifetimeInPathSubdiag , ExpectedLifetimeParameter ,
5555 IndicateAnonymousLifetime , SingleLabelManySpans ,
5656} ;
57- use rustc_lint_defs:: Lint ;
58- use rustc_hir:: HirId ;
5957pub use emitter:: ColorConfig ;
6058use emitter:: { DynEmitter , Emitter , is_case_difference, is_different} ;
6159use rustc_data_structures:: AtomicRef ;
@@ -67,8 +65,9 @@ pub use rustc_error_messages::{
6765 SubdiagMessage , fallback_fluent_bundle, fluent_bundle,
6866} ;
6967use rustc_hashes:: Hash128 ;
70- use rustc_lint_defs :: LintExpectationId ;
68+ use rustc_hir :: HirId ;
7169pub use rustc_lint_defs:: { Applicability , listify, pluralize} ;
70+ use rustc_lint_defs:: { Lint , LintExpectationId } ;
7271use rustc_macros:: { Decodable , Encodable } ;
7372pub use rustc_span:: ErrorGuaranteed ;
7473pub use rustc_span:: fatal_error:: { FatalError , FatalErrorMarker } ;
@@ -543,7 +542,7 @@ pub type HirDelayedLint = (
543542 & ' static Lint ,
544543 HirId ,
545544 Span ,
546- Box < dyn DynSend + for <' a , ' b > FnOnce ( & ' b mut Diag < ' a , ( ) > ) + ' static >
545+ Box < dyn DynSend + for <' a , ' b > FnOnce ( & ' b mut Diag < ' a , ( ) > ) + ' static > ,
547546) ;
548547
549548/// This inner struct exists to keep it all behind a single lock;
0 commit comments