rust/tests/ui/parser/dotdotdot-expr.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
402 B
Plaintext
Raw Normal View History

error: unexpected token: `...`
2018-12-25 15:56:47 +00:00
--> $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