mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
17 lines
400 B
Text
17 lines
400 B
Text
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 previous error
|
|
|