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
Copy file name to clipboardexpand all lines: src/test/ui/associated-types/associated-types-projection-to-unrelated-trait-in-method-without-default.fixed
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ trait Get {
7
7
}
8
8
9
9
trait Other {
10
-
fn okay<U:Get>(&self, foo: U, bar: <Self as Get>::Value) where Self: Get;
10
+
fn okay<U:Get>(&self, foo: U, bar: <Self as Get>::Value) where Self: Get;
Copy file name to clipboardexpand all lines: src/test/ui/associated-types/associated-types-projection-to-unrelated-trait-in-method-without-default.stderr
+6-4
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,12 @@ error[E0277]: the trait bound `Self: Get` is not satisfied
0 commit comments