rust/tests/ui/parser/issues/issue-90993.stderr
Esteban Küber 692bc344d5 Make parse error suggestions verbose and fix spans
Go over all structured parser suggestions and make them verbose style.

When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
2024-07-12 03:02:57 +00:00

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