Duplicate doubly higher-ranked trait bound fails to compile #140071
Labels
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen:
It compiles successfully like it does when the bound is not duplicated as in
or when a layer of
for
binders is removedInstead, this happened:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: