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
+2-11Lines changed: 2 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -25,16 +25,7 @@ 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[E0599]: no method named `method` found for reference `&dyn Foo` in the current scope
0 commit comments