blob: 27af3cf09156bf2edee5be6cf57f7ee3645463fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//@ check-pass
const _: bool = match Some(true) {
Some(value) => true,
_ => false
};
const _: bool = {
match Some(true) {
Some(value) => true,
_ => false
}
};
fn main() {}
|