mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
274 B
Plaintext
11 lines
274 B
Plaintext
error: associated function in `impl` without body
|
|
--> $DIR/impl-item-fn-no-body-semantic-fail.rs:6:5
|
|
|
|
|
LL | fn f();
|
|
| ^^^^^^-
|
|
| |
|
|
| help: provide a definition for the function: `{ <body> }`
|
|
|
|
error: aborting due to 1 previous error
|
|
|