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.
30 lines
696 B
Plaintext
30 lines
696 B
Plaintext
error: free constant item without body
|
|
--> $DIR/item-free-const-no-body-semantic-fail.rs:5:1
|
|
|
|
|
LL | const A: u8;
|
|
| ^^^^^^^^^^^-
|
|
| |
|
|
| help: provide a definition for the constant: `= <expr>;`
|
|
|
|
error: free constant item without body
|
|
--> $DIR/item-free-const-no-body-semantic-fail.rs:6:1
|
|
|
|
|
LL | const B;
|
|
| ^^^^^^^-
|
|
| |
|
|
| help: provide a definition for the constant: `= <expr>;`
|
|
|
|
error: missing type for `const` item
|
|
--> $DIR/item-free-const-no-body-semantic-fail.rs:6:8
|
|
|
|
|
LL | const B;
|
|
| ^
|
|
|
|
|
help: provide a type for the item
|
|
|
|
|
LL | const B: <type>;
|
|
| ++++++++
|
|
|
|
error: aborting due to 3 previous errors
|
|
|