False E0644 closure/generator type that references itself; new in nightly-2022-11-05 #104025
Labels
A-closures
Area: Closures (`|…| { … }`)
C-bug
Category: This is a bug.
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
I tried this code with
cargo +nightly-2022-11-05 check
:I expected to see this happen: successful compilation
Instead, this happened:
It compiles successfully with the preceding nightly,
cargo +nightly-2022-11-04 check
, and stable 1.65.0.Meta
rustc --version --verbose
:To be clear, this is the nightly I installed with
rustup install nightly-2022-11-05
. I assume it's normal for the commit date to be a day earlier, but I haven't specifically noticed that before.Related
This sounds extremely similar to #97680, but that bug was reported months earlier whereas this one appeared today. My original discovery involved async fn traits too, but I reduced it to an example which contains only a closure.
@rustbot label regression-from-stable-to-nightly A-closures
The text was updated successfully, but these errors were encountered: