rust/tests/ui/parser/use-colon-as-mod-sep.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

51 lines
1.1 KiB
Plaintext

error: expected `::`, found `:`
--> $DIR/use-colon-as-mod-sep.rs:3:17
|
LL | use std::process:Command;
| ^
|
= note: import paths are delimited using `::`
help: use double colon
|
LL | use std::process::Command;
| ~~
error: expected `::`, found `:`
--> $DIR/use-colon-as-mod-sep.rs:5:8
|
LL | use std:fs::File;
| ^
|
= note: import paths are delimited using `::`
help: use double colon
|
LL | use std::fs::File;
| ~~
error: expected `::`, found `:`
--> $DIR/use-colon-as-mod-sep.rs:7:8
|
LL | use std:collections:HashMap;
| ^
|
= note: import paths are delimited using `::`
help: use double colon
|
LL | use std::collections:HashMap;
| ~~
error: expected `::`, found `:`
--> $DIR/use-colon-as-mod-sep.rs:7:20
|
LL | use std:collections:HashMap;
| ^
|
= note: import paths are delimited using `::`
help: use double colon
|
LL | use std:collections::HashMap;
| ~~
error: aborting due to 4 previous errors