Slightly confusing error message when using where with GATs #86787
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-GATs
Area: Generic associated types (GATs)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
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.
I tried this code https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=374040a5ff329e636d37acd10f828a69:
I expected to see this happen: A slightly better error message
Instead, this happened: A slightly confusing error message
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: