From: bjorn3 Date: Tue, 1 Jun 2021 09:52:44 +0000 (+0200) Subject: Don't require LintStore to live for 'a in configure_and_expand_inner X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=2bf839e87086d1d636b22a938845bd5c33a39ca1;p=rust.git Don't require LintStore to live for 'a in configure_and_expand_inner --- diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index 802d00faef9..62abc5e6964 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -271,7 +271,7 @@ fn pre_expansion_lint( fn configure_and_expand_inner<'a>( sess: &'a Session, - lint_store: &'a LintStore, + lint_store: &LintStore, mut krate: ast::Crate, crate_name: &str, resolver_arenas: &'a ResolverArenas<'a>,