mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
11 lines
286 B
Plaintext
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
|
|
|