Tweak use of trimmed paths
This commit is contained in:
parent
ab8dc9a0ad
commit
153ed09fb3
16 changed files with 69 additions and 44 deletions
|
@ -16,7 +16,7 @@ LL | fn owned(self: Box<Self>);
|
|||
LL | x.owned();
|
||||
| ^^^^^ method not found in `&mut dyn Foo`
|
||||
|
||||
error[E0599]: no method named `managed` found for struct `Box<dyn Foo>` in the current scope
|
||||
error[E0599]: no method named `managed` found for struct `Box<(dyn Foo + 'static)>` in the current scope
|
||||
--> $DIR/object-pointer-types.rs:23:7
|
||||
|
|
||||
LL | x.managed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue