]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/expr-match-panic.rs
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
[rust.git] / src / test / ui / match / expr-match-panic.rs
1 // run-fail
2 // error-pattern:explicit panic
3 // ignore-emscripten no processes
4
5 fn main() {
6     let _x = match true {
7         false => 0,
8         true => panic!(),
9     };
10 }