Misleading/incorrect? closure/generator type that references itself
error
#105401
Labels
A-closures
Area: Closures (`|…| { … }`)
C-bug
Category: This is a bug.
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
requires-nightly
This issue requires a nightly compiler in some way.
I tried this code:
I expected to see this happen: I believe this should compile just fine but I am not 100% sure.
Instead, this happened: rustc produces the following:
Permalink to the playground
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: