]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/feature-async-closure.stderr
Rollup merge of #107203 - chenyukang:yukang/fix-106496-remove-deref, r=compiler-errors
[rust.git] / tests / ui / async-await / feature-async-closure.stderr
1 error[E0658]: async closures are unstable
2   --> $DIR/feature-async-closure.rs:5:13
3    |
4 LL |     let _ = async || {};
5    |             ^^^^^
6    |
7    = note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information
8    = help: add `#![feature(async_closure)]` to the crate attributes to enable
9    = help: to use an async block, remove the `||`: `async {`
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0658`.