LL | x.owned();
| ^^^^^ method not found in `&mut dyn Foo`
-error[E0599]: no method named `managed` found for struct `Box` 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();