]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/object-pointer-types.stderr
Rollup merge of #107576 - P1n3appl3:master, r=tmandry
[rust.git] / tests / ui / object-pointer-types.stderr
index 7133f8ae1947801d9fcad6bee07d49a47741d9bc..2c8df3b616fb8ac5c43b02aa07d16ba38d65703a 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<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();