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