]> git.lizzy.rs Git - rust.git/blob - src/test/run-fail/match-disc-bot.rs
Auto merge of #63994 - Centril:refactor-qualify-consts, r=spastorino,oli-obk
[rust.git] / src / test / run-fail / match-disc-bot.rs
1 // error-pattern:quux
2 fn f() -> ! {
3     panic!("quux")
4 }
5 fn g() -> isize {
6     match f() {
7         true => 1,
8         false => 0,
9     }
10 }
11 fn main() {
12     g();
13 }