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: tests/ui/traits/fn-pointer/bare-fn-no-impl-fn-ptr-99875.stderr
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,11 @@ error[E0277]: the trait bound `{closure@$DIR/bare-fn-no-impl-fn-ptr-99875.rs:14:
20
20
--> $DIR/bare-fn-no-impl-fn-ptr-99875.rs:14:11
21
21
|
22
22
LL | takes(|_: Argument| -> Return { todo!() });
23
-
| ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Trait` is not implemented for closure `{closure@$DIR/bare-fn-no-impl-fn-ptr-99875.rs:14:11: 14:34}`
Copy file name to clipboardExpand all lines: tests/ui/transmutability/assoc-bound.stderr
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,9 @@ error[E0277]: the trait bound `<T as A>::AssocA: TransmuteFrom<(), Assume { alig
2
2
--> $DIR/assoc-bound.rs:16:19
3
3
|
4
4
LL | type AssocB = T::AssocA;
5
-
| ^^^^^^^^^ the trait `TransmuteFrom<(), Assume { alignment: false, lifetimes: false, safety: false, validity: false }>` is not implemented for `<T as A>::AssocA`
5
+
| ^^^^^^^^^ unsatisfied trait bound
6
6
|
7
+
= help: the trait `TransmuteFrom<(), Assume { alignment: false, lifetimes: false, safety: false, validity: false }>` is not implemented for `<T as A>::AssocA`
0 commit comments