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