1
Fork 0

Update ui test suite to use dyn

This commit is contained in:
memoryruins 2019-05-28 14:46:13 -04:00
parent a1d1d7a2c6
commit eb4580a570
529 changed files with 1620 additions and 1605 deletions

View file

@ -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