Unhelpful error with "overlapping" never applicable impls #50715
Labels
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
These two implementations are overlapping (it's allowed to write
where for<'a> M: B<'a>
even whenM
doesn't implentB<'a>
) but the error doesn't say this.Compiler output:
cc #48214 which will make this issue easier to come across.
The text was updated successfully, but these errors were encountered: