2019-07-02 04:12:29 +02:00
|
|
|
error[E0658]: async closures are unstable
|
|
|
|
--> $DIR/feature-async-closure.rs:5:13
|
|
|
|
|
|
|
|
|
LL | let _ = async || {};
|
|
|
|
| ^^^^^
|
|
|
|
|
|
2020-02-07 13:07:02 +01:00
|
|
|
= note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information
|
2019-07-09 11:32:08 +02:00
|
|
|
= help: add `#![feature(async_closure)]` to the crate attributes to enable
|
2020-09-09 15:16:34 -07:00
|
|
|
= help: to use an async block, remove the `||`: `async {`
|
2019-07-02 04:12:29 +02:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0658`.
|