You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These two implementations are overlapping (it's allowed to write where for<'a> M: B<'a> even when M doesn't implent B<'a>) but the error doesn't say this.
Compiling playground v0.0.1 (file:///playground)
error[E0283]: type annotations required: cannot resolve `M: A`
--> src/main.rs:8:6
|
8 | impl A for M where for<'a> M: B<'a> {}
| ^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0283`.
error: Could not compile `playground`.
To learn more, run the command again with --verbose.
cc #48214 which will make this issue easier to come across.
The text was updated successfully, but these errors were encountered:
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: