1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-24 08:12:59 +01:00
actix-net/actix-macros/tests/trybuild/main-02-only-async.stderr

12 lines
342 B
Plaintext
Raw Normal View History

2021-02-02 03:07:58 +01:00
error: the async keyword is missing from the function declaration
2023-07-17 04:05:39 +02:00
--> tests/trybuild/main-02-only-async.rs:2:1
2020-04-26 21:11:16 +02:00
|
2 | fn main() {
| ^^
error[E0601]: `main` function not found in crate `$CRATE`
2023-07-17 04:05:39 +02:00
--> tests/trybuild/main-02-only-async.rs:4:2
2020-04-26 21:11:16 +02:00
|
2023-07-17 04:05:39 +02:00
4 | }
| ^ consider adding a `main` function to `$DIR/tests/trybuild/main-02-only-async.rs`