mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
692bc344d5
Go over all structured parser suggestions and make them verbose style. When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
51 lines
1.1 KiB
Plaintext
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
|
|
|