blob: bd55f4d663e41662ae624708bee8fc13e6c9c085 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// When all branches of an match expression result in fail, the entire
// match expression results in fail.
fn main() {
let x =
match true {
true => { 10 }
false => { match true { true => { fail } false => { fail } } }
};
}
|