rust/tests/ui/parser/impl-item-fn-no-body-semantic-fail.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

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