1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 22:07:42 +02:00

macros: Bump up to 0.1.2

This commit is contained in:
Yuki Okushi
2020-05-18 15:36:23 +09:00
parent f7cc62564d
commit f59ff82395
4 changed files with 13 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#[actix_rt::main]
fn main() {
futures::future::ready(()).await
futures_util::future::ready(()).await
}

View File

@ -9,6 +9,6 @@ error[E0601]: `main` function not found in crate `$CRATE`
|
1 | / #[actix_rt::main]
2 | | fn main() {
3 | | futures::future::ready(()).await
3 | | futures_util::future::ready(()).await
4 | | }
| |_^ consider adding a `main` function to `$DIR/tests/trybuild/main-02-only-async.rs`