rust/tests/ui/half-open-range-patterns/range_pat_interactions2.stderr
Lieselotte 4e0baddbbf
Recover parentheses in range patterns
Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
2024-01-03 15:27:58 +01:00

9 lines
211 B
Plaintext

error: expected `)`, found `+`
--> $DIR/range_pat_interactions2.rs:10:19
|
LL | 0..=(5+1) => errors_only.push(x),
| ^ expected `)`
error: aborting due to 1 previous error