mirror of https://github.com/rust-lang/rust
36 lines
680 B
Plaintext
36 lines
680 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 | ...=.
|
|
| ^^^^
|
|
|
|
|
= note: inclusive ranges end with a single equals sign (`..=`)
|
|
help: use `..=` instead
|
|
|
|
|
LL | ..=.
|
|
| ~~~
|
|
|
|
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
|
|
|