false positive "trait already implemented" (E0371) #68636
Labels
A-traits
Area: Trait system
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
While investigating #68564, I found a real bug.
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=c959b9e4ee176c4430586425307787ec
It results in an error even on stable.
Fold<A>
andFold<B>
is treated as a separate trait (#68564) while resolving, but treated as a same trait while verifying impl blocks.The text was updated successfully, but these errors were encountered: