diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index 1aba73ec73d00..3853457d4c5e7 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -398,7 +398,7 @@ declare_lint! { declare_lint! { pub INDIRECT_STRUCTURAL_MATCH, // defaulting to allow until rust-lang/rust#62614 is fixed. - Allow, + Warn, "pattern with const indirectly referencing non-`#[structural_match]` type", @future_incompatible = FutureIncompatibleInfo { reference: "issue #62411 ",