1 error[E0019]: constant contains unimplemented expression type
2 --> $DIR/const-match-pattern-arm.rs:3:23
4 LL | const x: bool = match Some(true) {
7 error[E0019]: constant contains unimplemented expression type
8 --> $DIR/const-match-pattern-arm.rs:5:5
10 LL | Some(value) => true,
13 error[E0019]: constant contains unimplemented expression type
14 --> $DIR/const-match-pattern-arm.rs:11:11
16 LL | match Some(true) {
19 error[E0019]: constant contains unimplemented expression type
20 --> $DIR/const-match-pattern-arm.rs:13:9
22 LL | Some(value) => true,
25 error: aborting due to 4 previous errors
27 For more information about this error, try `rustc --explain E0019`.