]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0658]: async fn is unstable (see issue #50547) |
0731742a | 2 | --> $DIR/feature-gate-async-await.rs:5:1 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | async fn foo() {} |
8faf50e0 XL |
5 | | ^^^^^^^^^^^^^^^^^ |
6 | | | |
7 | = help: add #![feature(async_await)] to the crate attributes to enable | |
8 | ||
9 | error[E0658]: async blocks are unstable (see issue #50547) | |
0731742a | 10 | --> $DIR/feature-gate-async-await.rs:8:13 |
8faf50e0 | 11 | | |
532ac7d7 | 12 | LL | let _ = async {}; |
8faf50e0 XL |
13 | | ^^^^^^^^ |
14 | | | |
15 | = help: add #![feature(async_await)] to the crate attributes to enable | |
16 | ||
17 | error[E0658]: async closures are unstable (see issue #50547) | |
0731742a | 18 | --> $DIR/feature-gate-async-await.rs:9:13 |
8faf50e0 | 19 | | |
532ac7d7 | 20 | LL | let _ = async || {}; |
8faf50e0 XL |
21 | | ^^^^^^^^^^^ |
22 | | | |
23 | = help: add #![feature(async_await)] to the crate attributes to enable | |
24 | ||
25 | error: aborting due to 3 previous errors | |
26 | ||
27 | For more information about this error, try `rustc --explain E0658`. |