]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_middle/src/lint.rs
Rollup merge of #91895 - pitaj:91867-monomorphize, r=Aaron1011
[rust.git] / compiler / rustc_middle / src / lint.rs
index 66857625e88af03d9a837b7ac43ce1dbaecbfa25..eef10356ed25e2fa3dcc367fb5dd211a24e03f91 100644 (file)
@@ -212,7 +212,7 @@ pub fn struct_lint_level<'s, 'd>(
 ) {
     // Avoid codegen bloat from monomorphization by immediately doing dyn dispatch of `decorate` to
     // the "real" work.
-    fn struct_lint_level_impl(
+    fn struct_lint_level_impl<'s, 'd>(
         sess: &'s Session,
         lint: &'static Lint,
         level: Level,