GAT: incorrect suggestion on missing lifetime #81961
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-const-generics
Area: const generics (parameters and arguments)
A-GATs
Area: Generic associated types (GATs)
C-bug
Category: This is a bug.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
F-generic_associated_types
`#![feature(generic_associated_types)]` a.k.a. GATs
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
results in the following error:
Note that we suggest
<T as Foo>::Assoc<'a3>
here, which is missing a comma.The text was updated successfully, but these errors were encountered: