]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_middle/src/lint.rs
Auto merge of #100073 - dpaoliello:externvar, r=michaelwoerister
[rust.git] / compiler / rustc_middle / src / lint.rs
index 4b156de410d88efcb57b2745fad3b5262c0f9602..2f45222de47280c6d2b4cea1753cefc53c988a6e 100644 (file)
@@ -300,7 +300,7 @@ fn struct_lint_level_impl<'s, 'd>(
 
         let has_future_breakage = future_incompatible.map_or(
             // Default allow lints trigger too often for testing.
-            sess.opts.debugging_opts.future_incompat_test && lint.default_level != Level::Allow,
+            sess.opts.unstable_opts.future_incompat_test && lint.default_level != Level::Allow,
             |incompat| {
                 matches!(incompat.reason, FutureIncompatibilityReason::FutureReleaseErrorReportNow)
             },