@@ -54,8 +54,6 @@ pub use diagnostic_impls::{
54
54
DiagArgFromDisplay , DiagSymbolList , ElidedLifetimeInPathSubdiag , ExpectedLifetimeParameter ,
55
55
IndicateAnonymousLifetime , SingleLabelManySpans ,
56
56
} ;
57
- use rustc_lint_defs:: Lint ;
58
- use rustc_hir:: HirId ;
59
57
pub use emitter:: ColorConfig ;
60
58
use emitter:: { DynEmitter , Emitter , is_case_difference, is_different} ;
61
59
use rustc_data_structures:: AtomicRef ;
@@ -67,8 +65,9 @@ pub use rustc_error_messages::{
67
65
SubdiagMessage , fallback_fluent_bundle, fluent_bundle,
68
66
} ;
69
67
use rustc_hashes:: Hash128 ;
70
- use rustc_lint_defs :: LintExpectationId ;
68
+ use rustc_hir :: HirId ;
71
69
pub use rustc_lint_defs:: { Applicability , listify, pluralize} ;
70
+ use rustc_lint_defs:: { Lint , LintExpectationId } ;
72
71
use rustc_macros:: { Decodable , Encodable } ;
73
72
pub use rustc_span:: ErrorGuaranteed ;
74
73
pub use rustc_span:: fatal_error:: { FatalError , FatalErrorMarker } ;
@@ -543,7 +542,7 @@ pub type HirDelayedLint = (
543
542
& ' static Lint ,
544
543
HirId ,
545
544
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 > ,
547
546
) ;
548
547
549
548
/// This inner struct exists to keep it all behind a single lock;
0 commit comments