GAT + enum: incorrect unused lifetime error #69184
Labels
A-GATs
Area: Generic associated types (GATs)
A-lifetimes
Area: Lifetimes / regions
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
F-generic_associated_types
`#![feature(generic_associated_types)]` a.k.a. GATs
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This is a follow up on #67089, which now works. The following doesn't (play link):
Error is:
however, this lifetime clearly is used and is required.
The text was updated successfully, but these errors were encountered: