rust/src/test/ui/dotdotdot-expr.stderr

17 lines
396 B
Plaintext
Raw Normal View History

error: unexpected token: `...`
--> $DIR/dotdotdot-expr.rs:12: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