Missing lifetime in associated type triggers suggestion that requires generic_associated_types
#75547
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: Not sure, but not this
Instead, this happened:
Meta
This occurs both on my local machine and on the playground LINK
Looks like it returns an error with valid syntax at least on nightly, which just leads to GATs.
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: