]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-30371.rs
Enable full revision in const generics ui tests
[rust.git] / src / test / ui / issues / issue-30371.rs
1 // run-pass
2 #![allow(unreachable_code)]
3 #![allow(unused_mut)] // rust-lang/rust#54586
4 #![deny(unused_variables)]
5
6 fn main() {
7     for _ in match return () {
8         () => Some(0),
9     } {}
10 }