Skip to content

Commit 63ccd04

Browse files
committed
Turned on INDIRECT_STRUCTURAL_MATCH lint to warn by default again.
1 parent 5a9dbe1 commit 63ccd04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/lint/builtin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ declare_lint! {
398398
declare_lint! {
399399
pub INDIRECT_STRUCTURAL_MATCH,
400400
// defaulting to allow until rust-lang/rust#62614 is fixed.
401-
Allow,
401+
Warn,
402402
"pattern with const indirectly referencing non-`#[structural_match]` type",
403403
@future_incompatible = FutureIncompatibleInfo {
404404
reference: "issue #62411 <https://github.com/rust-lang/rust/issues/62411>",

0 commit comments

Comments
 (0)