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/self/dispatch-dyn-incompatible-that-does-not-deref.stderr
+5-14Lines changed: 5 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -25,25 +25,16 @@ LL | fn method(self: &W) {}
25
25
= note: type of `self` must be `Self` or a type that dereferences to it
26
26
= help: consider changing to `self`, `&self`, `&mut self`, `self: Box<Self>`, `self: Rc<Self>`, `self: Arc<Self>`, or `self: Pin<P>` (where P is one of the previous types except `Self`)
27
27
28
-
error[E0038]: the trait `Foo` is not dyn compatible
0 commit comments