rust/tests/ui/parser/impl-item-fn-no-body-semantic-fail.stderr

11 lines
272 B
Plaintext
Raw Normal View History

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 previous error