rust/src/test/ui/issues/issue-30371.rs
2019-07-27 18:56:16 +03:00

11 lines
191 B
Rust

// run-pass
#![allow(unreachable_code)]
#![allow(unused_mut)] // rust-lang/rust#54586
#![deny(unused_variables)]
fn main() {
for _ in match return () {
() => Some(0),
} {}
}