implementation of FnOnce is not general enough
regressed into closure/generator type that references itself
#105396
Labels
C-bug
Category: This is a bug.
P-low
Low priority
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
I tried this code:
I expected to see this happen: rustc produces
implementation of `FnOnce` is not general enough
Instead, this happened: rustc produces
closure/generator type that references itself
Version it worked on
1.65.0
Version with regression
1.67.0-nightly (2022-12-05 e1d8195)
@rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
The text was updated successfully, but these errors were encountered: