]>
Commit | Line | Data |
---|---|---|
f035d41b | 1 | // check-pass |
3b2f2976 | 2 | |
f035d41b | 3 | const _: bool = match Some(true) { |
cc61c64b | 4 | Some(value) => true, |
cc61c64b XL |
5 | _ => false |
6 | }; | |
223e47cc | 7 | |
f035d41b XL |
8 | const _: bool = { |
9 | match Some(true) { | |
cc61c64b | 10 | Some(value) => true, |
cc61c64b XL |
11 | _ => false |
12 | } | |
13 | }; | |
b039eaaf | 14 | |
cc61c64b | 15 | fn main() {} |