]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-30371.rs
Auto merge of #107044 - cuviper:more-llvm-ci, r=Mark-Simulacrum
[rust.git] / tests / ui / issues / issue-30371.rs
1 // run-pass
2 #![allow(unreachable_code)]
3 #![allow(for_loops_over_fallibles)]
4 #![deny(unused_variables)]
5
6 fn main() {
7     for _ in match return () {
8         () => Some(0),
9     } {}
10 }