1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-28 05:22:39 +01:00
actix-net/actix-macros/tests/trybuild/main-02-only-async.stderr

15 lines
415 B
Plaintext
Raw Normal View History

2021-02-02 03:07:58 +01:00
error: the async keyword is missing from the function declaration
2020-04-26 21:11:16 +02:00
--> $DIR/main-02-only-async.rs:2:1
|
2 | fn main() {
| ^^
error[E0601]: `main` function not found in crate `$CRATE`
--> $DIR/main-02-only-async.rs:1:1
|
1 | / #[actix_rt::main]
2 | | fn main() {
2020-05-18 08:36:23 +02:00
3 | | futures_util::future::ready(()).await
2020-04-26 21:11:16 +02:00
4 | | }
| |_^ consider adding a `main` function to `$DIR/tests/trybuild/main-02-only-async.rs`