]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-match-pattern-arm.rs
Merge commit '4911ab124c481430672a3833b37075e6435ec34d' into clippyup
[rust.git] / src / test / ui / consts / const-match-pattern-arm.rs
1 // check-pass
2
3 const _: bool = match Some(true) {
4     Some(value) => true,
5     _ => false
6 };
7
8 const _: bool = {
9     match Some(true) {
10         Some(value) => true,
11         _ => false
12     }
13 };
14
15 fn main() {}