Wrong type inference for closure with impl Trait inside another type #54729
Labels
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
A-inference
Area: Type inference
Hi.
It compiles with a type annotation as in this code.
This code doesn't compile.
error:
Thanks to fix this issue.
The text was updated successfully, but these errors were encountered: