diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-08-19 11:37:01 +0300 | 
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-08-22 16:52:16 +0300 | 
| commit | a47c3729b49f3e5ded7e3c05981dbb27fab96b45 (patch) | |
| tree | 2301d745b4ea5ea936a47794829d6e6e57fa9d25 /compiler/rustc_resolve/src/diagnostics.rs | |
| parent | b82b947a5c6ed8a8bdb155b99298e9e79c93238c (diff) | |
| download | rust-a47c3729b49f3e5ded7e3c05981dbb27fab96b45.tar.gz rust-a47c3729b49f3e5ded7e3c05981dbb27fab96b45.zip | |
resolve: Remove derive fallback lint id from `ScopeSet::Late`
Diffstat (limited to 'compiler/rustc_resolve/src/diagnostics.rs')
| -rw-r--r-- | compiler/rustc_resolve/src/diagnostics.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/compiler/rustc_resolve/src/diagnostics.rs b/compiler/rustc_resolve/src/diagnostics.rs index 6df70bdeb18..337e7d2dd86 100644 --- a/compiler/rustc_resolve/src/diagnostics.rs +++ b/compiler/rustc_resolve/src/diagnostics.rs @@ -1020,11 +1020,11 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> { &mut self, suggestions: &mut Vec<TypoSuggestion>, scope_set: ScopeSet<'ra>, - parent_scope: &ParentScope<'ra>, + ps: &ParentScope<'ra>, ctxt: SyntaxContext, filter_fn: &impl Fn(Res) -> bool, ) { - self.cm().visit_scopes(scope_set, parent_scope, ctxt, |this, scope, use_prelude, _| { + self.cm().visit_scopes(scope_set, ps, ctxt, None, |this, scope, use_prelude, _| { match scope { Scope::DeriveHelpers(expn_id) => { let res = Res::NonMacroAttr(NonMacroAttrKind::DeriveHelper); | 
