15 lines
350 B
Plaintext
15 lines
350 B
Plaintext
error: arbitrary expressions aren't allowed in patterns
|
|
--> $DIR/patkind-litrange-no-expr.rs:20:13
|
|
|
|
|
LL | Arith = 1 + 1,
|
|
| ^^^^^
|
|
|
|
error: arbitrary expressions aren't allowed in patterns
|
|
--> $DIR/patkind-litrange-no-expr.rs:20:13
|
|
|
|
|
LL | Arith = 1 + 1,
|
|
| ^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|