2021-07-11 16:51:56 -07:00
|
|
|
error: unexpected `=` after inclusive range
|
|
|
|
--> $DIR/range-inclusive-extra-equals.rs:7:13
|
|
|
|
|
|
|
|
|
LL | if let 1..==3 = 1 {}
|
|
|
|
| ^^^^ help: use `..=` instead
|
|
|
|
|
|
|
|
|
= note: inclusive ranges end with a single equals sign (`..=`)
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2021-07-11 16:51:56 -07:00
|
|
|
|