mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
27 lines
884 B
Plaintext
27 lines
884 B
Plaintext
error: free function without a body
|
|
--> $DIR/issue-70736-async-fn-no-body-def-collector.rs:3:1
|
|
|
|
|
LL | async fn free();
|
|
| ^^^^^^^^^^^^^^^-
|
|
| |
|
|
| help: provide a definition for the function: `{ <body> }`
|
|
|
|
error: associated function in `impl` without body
|
|
--> $DIR/issue-70736-async-fn-no-body-def-collector.rs:7:5
|
|
|
|
|
LL | async fn inherent();
|
|
| ^^^^^^^^^^^^^^^^^^^-
|
|
| |
|
|
| help: provide a definition for the function: `{ <body> }`
|
|
|
|
error: associated function in `impl` without body
|
|
--> $DIR/issue-70736-async-fn-no-body-def-collector.rs:14:5
|
|
|
|
|
LL | async fn associated();
|
|
| ^^^^^^^^^^^^^^^^^^^^^-
|
|
| |
|
|
| help: provide a definition for the function: `{ <body> }`
|
|
|
|
error: aborting due to 3 previous errors
|
|
|