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
I expected to see this compile successfully since in Trait3, Self is guaranteed to implement Trait1 because Self = Trait2::Type and Trait2::Type: Trait1.
Instead, this happened:
error[E0277]: the trait bound `Self: Trait1` is not satisfied
The text was updated successfully, but these errors were encountered:
I tried this code:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=e13f9ef0a5c88c03fca13d57418f4986
I expected to see this compile successfully since in
Trait3
,Self
is guaranteed to implementTrait1
becauseSelf = Trait2::Type
andTrait2::Type: Trait1
.Instead, this happened:
The text was updated successfully, but these errors were encountered: