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