]> git.lizzy.rs Git - rust.git/blob - tests/ui/never_type/expr-empty-ret.rs
Rollup merge of #107615 - notriddle:notriddle/nbsp, r=GuillaumeGomez
[rust.git] / tests / ui / never_type / expr-empty-ret.rs
1 // run-pass
2
3 #![allow(dead_code)]
4 // Issue #521
5
6 // pretty-expanded FIXME #23616
7
8 fn f() {
9     let _x = match true {
10         true => { 10 }
11         false => { return }
12     };
13 }
14
15 pub fn main() { }