]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/object-pointer-types.stderr
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / object-pointer-types.stderr
index 021899b3082cd853a908c193341d7a3ca6a5a35a..a477425edc81b75a564283bd61c6f5988e5b568d 100644 (file)
@@ -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` 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();