1error: lifetime may not live long enough
2  --> $DIR/object-lifetime-default-from-rptr-box-error.rs:15:5
3   |
4LL | fn c<'a>(t: &'a Box<dyn Test+'a>, mut ss: SomeStruct<'a>) {
5   |      -- lifetime `'a` defined here
6LL |     ss.t = t;
7   |     ^^^^^^^^ assignment requires that `'a` must outlive `'static`
8
9error: aborting due to previous error
10
11