1 error[E0478]: lifetime bound not satisfied
2 --> $DIR/regions-wf-trait-object.rs:7:8
4 LL | x: Box<dyn TheTrait<'a>+'b>
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
7 note: lifetime parameter instantiated with the lifetime `'b` as defined here
8 --> $DIR/regions-wf-trait-object.rs:6:15
10 LL | struct Foo<'a,'b> {
12 note: but lifetime parameter must outlive the lifetime `'a` as defined here
13 --> $DIR/regions-wf-trait-object.rs:6:12
15 LL | struct Foo<'a,'b> {
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0478`.