]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-match-pattern-arm.rs
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' 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() {}