11error[E0658]: async fn is unstable
2- --> $DIR/feature-gate-async-await.rs:5:1
2+ --> $DIR/feature-gate-async-await.rs:8:5
3+ |
4+ LL | async fn foo() {}
5+ | ^^^^^^^^^^^^^^^^^
6+ |
7+ = note: for more information, see https://github.com/rust-lang/rust/issues/50547
8+ = help: add #![feature(async_await)] to the crate attributes to enable
9+
10+ error[E0658]: async fn is unstable
11+ --> $DIR/feature-gate-async-await.rs:11:1
312 |
413LL | async fn foo() {}
514 | ^^^^^^^^^^^^^^^^^
@@ -8,7 +17,7 @@ LL | async fn foo() {}
817 = help: add #![feature(async_await)] to the crate attributes to enable
918
1019error[E0658]: async blocks are unstable
11- --> $DIR/feature-gate-async-await.rs:8 :13
20+ --> $DIR/feature-gate-async-await.rs:14 :13
1221 |
1322LL | let _ = async {};
1423 | ^^^^^^^^
@@ -17,14 +26,14 @@ LL | let _ = async {};
1726 = help: add #![feature(async_await)] to the crate attributes to enable
1827
1928error[E0658]: async closures are unstable
20- --> $DIR/feature-gate-async-await.rs:9 :13
29+ --> $DIR/feature-gate-async-await.rs:15 :13
2130 |
2231LL | let _ = async || {};
2332 | ^^^^^^^^^^^
2433 |
2534 = note: for more information, see https://github.com/rust-lang/rust/issues/50547
2635 = help: add #![feature(async_await)] to the crate attributes to enable
2736
28- error: aborting due to 3 previous errors
37+ error: aborting due to 4 previous errors
2938
3039For more information about this error, try `rustc --explain E0658`.
0 commit comments