mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
288 B
Plaintext
11 lines
288 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 1 previous error
|
|
|