Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
match
/
expr-match-panic.rs
blob: 53f8a8bd30ddbb6ea5fa0e4d833b0a70da3ad9fa [
file
] [
log
] [
blame
]
// run-fail
// error-pattern:explicit panic
// ignore-emscripten no processes
fn
main
()
{
let
_x
=
match
true
{
false
=>
0
,
true
=>
panic
!(),
};
}