mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 13:13:40 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
18 lines
402 B
Plaintext
18 lines
402 B
Plaintext
error: unexpected token: `...`
|
|
--> $DIR/dotdotdot-expr.rs:2:24
|
|
|
|
|
LL | let _redemptive = 1...21;
|
|
| ^^^
|
|
|
|
|
help: use `..` for an exclusive range
|
|
|
|
|
LL | let _redemptive = 1..21;
|
|
| ~~
|
|
help: or `..=` for an inclusive range
|
|
|
|
|
LL | let _redemptive = 1..=21;
|
|
| ~~~
|
|
|
|
error: aborting due to 1 previous error
|
|
|