impl Trait capturing lifetime of type parameter #79415
Labels
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
A-lifetimes
Area: Lifetimes / regions
C-bug
Category: This is a bug.
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
D-newcomer-roadblock
Diagnostics: Confusing error or lint; hard to understand for new users.
fixed-by-TAIT
Fixed by the feature `type_alias_impl_trait`.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected it to compile, but there was an error:
Meta
rustc --version --verbose
:The issue also affects
-Zpolonius
The text was updated successfully, but these errors were encountered: