blob: 90680c0194c554735b1cfd9043d5c7c7e020e96a (
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() {}
|