rust/tests/ui/parser/issues/issue-108109-fn-missing-params.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

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