mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +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.
25 lines
526 B
Plaintext
25 lines
526 B
Plaintext
error: missing parameters for function definition
|
|
--> $DIR/issue-108109-fn-missing-params.rs:3:15
|
|
|
|
|
LL | pub fn missing -> () {}
|
|
| ^
|
|
|
|
|
help: add a parameter list
|
|
|
|
|
LL | pub fn missing() -> () {}
|
|
| ++
|
|
|
|
error: missing parameters for function definition
|
|
--> $DIR/issue-108109-fn-missing-params.rs:6:16
|
|
|
|
|
LL | pub fn missing2 {}
|
|
| ^
|
|
|
|
|
help: add a parameter list
|
|
|
|
|
LL | pub fn missing2() {}
|
|
| ++
|
|
|
|
error: aborting due to 2 previous errors
|
|
|