1
1
error[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
3
12
|
4
13
LL | async fn foo() {}
5
14
| ^^^^^^^^^^^^^^^^^
@@ -8,7 +17,7 @@ LL | async fn foo() {}
8
17
= help: add #![feature(async_await)] to the crate attributes to enable
9
18
10
19
error[E0658]: async blocks are unstable
11
- --> $DIR/feature-gate-async-await.rs:8 :13
20
+ --> $DIR/feature-gate-async-await.rs:14 :13
12
21
|
13
22
LL | let _ = async {};
14
23
| ^^^^^^^^
@@ -17,14 +26,14 @@ LL | let _ = async {};
17
26
= help: add #![feature(async_await)] to the crate attributes to enable
18
27
19
28
error[E0658]: async closures are unstable
20
- --> $DIR/feature-gate-async-await.rs:9 :13
29
+ --> $DIR/feature-gate-async-await.rs:15 :13
21
30
|
22
31
LL | let _ = async || {};
23
32
| ^^^^^^^^^^^
24
33
|
25
34
= note: for more information, see https://github.com/rust-lang/rust/issues/50547
26
35
= help: add #![feature(async_await)] to the crate attributes to enable
27
36
28
- error: aborting due to 3 previous errors
37
+ error: aborting due to 4 previous errors
29
38
30
39
For more information about this error, try `rustc --explain E0658`.
0 commit comments