diff options
Diffstat (limited to 'src/test/ui/binding/expr-match-panic-all.rs')
-rw-r--r-- | src/test/ui/binding/expr-match-panic-all.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/binding/expr-match-panic-all.rs b/src/test/ui/binding/expr-match-panic-all.rs deleted file mode 100644 index ac31b49a1..000000000 --- a/src/test/ui/binding/expr-match-panic-all.rs +++ /dev/null @@ -1,14 +0,0 @@ -// run-pass - - - -// When all branches of a match expression result in panic, the entire -// match expression results in panic. - -pub fn main() { - let _x = - match true { - true => { 10 } - false => { match true { true => { panic!() } false => { panic!() } } } - }; -} |