mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
32 lines
648 B
Plaintext
32 lines
648 B
Plaintext
error: unexpected token: `...`
|
|
--> $DIR/issue-90993.rs:2:5
|
|
|
|
|
LL | ...=.
|
|
| ^^^
|
|
|
|
|
help: use `..` for an exclusive range
|
|
|
|
|
LL | ..=.
|
|
| ~~
|
|
help: or `..=` for an inclusive range
|
|
|
|
|
LL | ..==.
|
|
| ~~~
|
|
|
|
error: unexpected `=` after inclusive range
|
|
--> $DIR/issue-90993.rs:2:5
|
|
|
|
|
LL | ...=.
|
|
| ^^^^ help: use `..=` instead
|
|
|
|
|
= note: inclusive ranges end with a single equals sign (`..=`)
|
|
|
|
error: expected one of `-`, `;`, `}`, or path, found `.`
|
|
--> $DIR/issue-90993.rs:2:9
|
|
|
|
|
LL | ...=.
|
|
| ^ expected one of `-`, `;`, `}`, or path
|
|
|
|
error: aborting due to 3 previous errors
|
|
|