2023-01-30 17:47:10 -06:00
|
|
|
error: unexpected `>` after inclusive range
|
|
|
|
--> $DIR/half-open-range-pats-inclusive-match-arrow.rs:5:14
|
2023-01-28 14:02:00 -06:00
|
|
|
|
|
|
|
|
LL | 74..=> {},
|
2023-01-30 17:47:10 -06:00
|
|
|
| ---^
|
|
|
|
| |
|
|
|
|
| this is parsed as an inclusive range `..=`
|
2023-01-28 14:02:00 -06:00
|
|
|
|
|
|
|
|
help: add a space between the pattern and `=>`
|
|
|
|
|
|
|
|
|
LL | 74.. => {},
|
|
|
|
| +
|
|
|
|
|
2023-01-30 17:47:10 -06:00
|
|
|
error: aborting due to previous error
|
2023-01-28 14:02:00 -06:00
|
|
|
|