mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
17 lines
434 B
Plaintext
17 lines
434 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,
|
|
| ^^^^^
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|