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