1 error: borrowed data escapes outside of function
2 --> $DIR/object-lifetime-default-from-rptr-struct-error.rs:31:5
4 LL | fn c<'a>(t: &'a MyBox<Test+'a>, mut ss: SomeStruct<'a>) {
5 | - `t` is a reference that is only valid in the function body
6 LL | ss.t = t; //~ ERROR mismatched types
7 | ^^^^^^^^ `t` escapes the function body here
9 error: aborting due to previous error