Skip to content

Commit 5a9dbe1

Browse files
committed
This PR is fixing issue 62614, and we can mark that here by turning on the lint explicitly.
1 parent e4d3e40 commit 5a9dbe1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/ui/rfc1445/allow-use-behind-cousin-variant.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
// have non-structural-match variants, *if* the constant itself does not use
33
// any such variant.
44

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.
5+
// Even when we turn this on, there is no warning diangostic.
6+
#![warn(indirect_structural_match)]
87

98
// run-pass
109

0 commit comments

Comments
 (0)