@@ -24,7 +24,7 @@ use rustc_middle::ty::layout::{LayoutError, LayoutOfHelpers, TyAndLayout};
24
24
use rustc_middle:: ty:: print:: { PrintError , PrintTraitRefExt as _, Printer , with_no_trimmed_paths} ;
25
25
use rustc_middle:: ty:: { self , GenericArg , RegisteredTools , Ty , TyCtxt , TypingEnv , TypingMode } ;
26
26
use rustc_session:: lint:: { FutureIncompatibleInfo , Lint , LintBuffer , LintExpectationId , LintId } ;
27
- use rustc_session:: { LintStoreMarker , Session } ;
27
+ use rustc_session:: { DynLintStore , Session } ;
28
28
use rustc_span:: edit_distance:: find_best_match_for_names;
29
29
use rustc_span:: { Ident , Span , Symbol , sym} ;
30
30
use tracing:: debug;
@@ -62,7 +62,7 @@ pub struct LintStore {
62
62
lint_groups : FxIndexMap < & ' static str , LintGroup > ,
63
63
}
64
64
65
- impl LintStoreMarker for LintStore {
65
+ impl DynLintStore for LintStore {
66
66
fn lint_groups_iter ( & self ) -> Box < dyn Iterator < Item = rustc_session:: LintGroup > + ' _ > {
67
67
Box :: new ( self . get_lint_groups ( ) . map ( |( name, lints, is_externally_loaded) | {
68
68
rustc_session:: LintGroup { name, lints, is_externally_loaded }
0 commit comments