Closed matthiaskrgr closed 1 month ago
@rustbot labels -needs-triage +AsyncAwait-Triaged
Interesting, as always, @matthiaskrgr. Thanks for the report.
Bisected to nightly-2024-09-18
,
Regression in 41a3e06d0e0b1104e4adf3332f8c0876bec14b00 from #130201
cc @compiler-errors given bisection.
I'll look
side note, @traviscross: in async triage, if you're gonna remove the needs-triage label please consider adding the relevant F- labels too
auto-reduced (treereduce-rust):
original:
Version information
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc -Cinstrument-coverage --edition=2018
Program output
``` error[E0658]: async closures are unstable --> /tmp/icemaker_global_tempdir.oaNujPif49Om/rustc_testrunner_tmpdir_reporting.OG1eQwd5cy9L/mvce.rs:5:28 | 5 | async fn call_once(f: impl async FnOnce(DropMe)) { | ^^^^^ | = note: see issue #62290 for more information
= help: add `#![feature(async_closure)]` to the crate attributes to enable
= note: this compiler was built on 2024-10-03; consider upgrading it if it is out of date
= help: to use an async block, remove the `||`: `async {`
error[E0658]: async closures are unstable
--> /tmp/icemaker_global_tempdir.oaNujPif49Om/rustc_testrunner_tmpdir_reporting.OG1eQwd5cy9L/mvce.rs:13:29
|
13 | let async_closure = async move |a: DropMe| {};
| ^^^^^
|
= note: see issue #62290 for more information
= help: add `#![feature(async_closure)]` to the crate attributes to enable
= note: this compiler was built on 2024-10-03; consider upgrading it if it is out of date
= help: to use an async block, remove the `||`: `async {`
error[E0658]: use of unstable library feature 'async_closure'
--> /tmp/icemaker_global_tempdir.oaNujPif49Om/rustc_testrunner_tmpdir_reporting.OG1eQwd5cy9L/mvce.rs:5:34
|
5 | async fn call_once(f: impl async FnOnce(DropMe)) {
| ^^^^^^^^^^^^^^
|
= note: see issue #62290 for more information
= help: add `#![feature(async_closure)]` to the crate attributes to enable
= note: this compiler was built on 2024-10-03; consider upgrading it if it is out of date
error[E0308]: mismatched types
--> /tmp/icemaker_global_tempdir.oaNujPif49Om/rustc_testrunner_tmpdir_reporting.OG1eQwd5cy9L/mvce.rs:3:53
|
3 | pub fn block_on(fut: impl Future
@rustbot label +F-async_closure +F-noop_waker +F-async_fn_traits