]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/async-await/feature-async-closure.stderr
Rollup merge of #80935 - pierwill:rustc_middle-levelandsource, r=petrochenkov
[rust.git] / src / test / ui / async-await / feature-async-closure.stderr
index ba851ba7d29847c4f220b17f5bd54f9496016851..485a838b67ff2e9861f42ddcc3e574aaca23c537 100644 (file)
@@ -6,6 +6,7 @@ LL |     let _ = async || {};
    |
    = note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information
    = help: add `#![feature(async_closure)]` to the crate attributes to enable
+   = help: to use an async block, remove the `||`: `async {`
 
 error: aborting due to previous error