Update ui test suite to use dyn
This commit is contained in:
parent
a1d1d7a2c6
commit
eb4580a570
529 changed files with 1620 additions and 1605 deletions
|
@ -9,7 +9,7 @@ LL | ss.t = t;
|
|||
note: the lifetime 'a as defined on the function body at 20:6...
|
||||
--> $DIR/object-lifetime-default-from-rptr-struct-error.rs:20:6
|
||||
|
|
||||
LL | fn c<'a>(t: &'a MyBox<Test+'a>, mut ss: SomeStruct<'a>) {
|
||||
LL | fn c<'a>(t: &'a MyBox<dyn Test+'a>, mut ss: SomeStruct<'a>) {
|
||||
| ^^
|
||||
= note: ...does not necessarily outlive the static lifetime
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue