mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
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
|
|
|