mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
16 lines
371 B
Plaintext
16 lines
371 B
Plaintext
error: unexpected `>` after inclusive range
|
|
--> $DIR/half-open-range-pats-inclusive-match-arrow.rs:5:14
|
|
|
|
|
LL | 74..=> {},
|
|
| ---^
|
|
| |
|
|
| this is parsed as an inclusive range `..=`
|
|
|
|
|
help: add a space between the pattern and `=>`
|
|
|
|
|
LL | 74.. => {},
|
|
| +
|
|
|
|
error: aborting due to previous error
|
|
|