Skip to content

Commit 25c5b94

Browse files
committed
Silence lint in miri test.
1 parent 43cd0f2 commit 25c5b94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/miri/tests/pass/enums.rs

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ fn more_discriminant_overflow() {
102102
V4,
103103
}
104104

105+
#[allow(unreachable_patterns)]
105106
if let E1::V2 { .. } = (E1::V1 { f: true }) {
106107
unreachable!()
107108
}

0 commit comments

Comments
 (0)