mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +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
|
|
|