We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4d3e40 commit 5a9dbe1Copy full SHA for 5a9dbe1
src/test/ui/rfc1445/allow-use-behind-cousin-variant.rs
@@ -2,9 +2,8 @@
2
// have non-structural-match variants, *if* the constant itself does not use
3
// any such variant.
4
5
-// NOTE: for now, deliberately leaving the lint `indirect_structural_match` set
6
-// to its default, so that we will not issue a diangostic even if
7
-// rust-lang/rust#62614 remains an open issue.
+// Even when we turn this on, there is no warning diangostic.
+#![warn(indirect_structural_match)]
8
9
// run-pass
10
0 commit comments