Skip to content

Commit

Permalink
Turned on INDIRECT_STRUCTURAL_MATCH lint to warn by default again.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnkfelix committed Dec 6, 2019
1 parent 5a9dbe1 commit 63ccd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/lint/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/rust-lang/rust/issues/62411>",
Expand Down

0 comments on commit 63ccd04

Please sign in to comment.