mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +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
|
|
|