rust/tests/ui/parser/impl-item-const-semantic-fail.stderr
2023-01-11 09:32:08 +00:00

11 lines
286 B
Plaintext

error: associated constant in `impl` without body
--> $DIR/impl-item-const-semantic-fail.rs:6:5
|
LL | const Y: u8;
| ^^^^^^^^^^^-
| |
| help: provide a definition for the constant: `= <expr>;`
error: aborting due to previous error