1 error[E0226]: only a single explicit lifetime bound is permitted
2 --> $DIR/region-bounds-on-objects-and-type-parameters.rs:21:26
4 LL | z: Box<dyn Is<'a>+'b+'c>,
7 error[E0478]: lifetime bound not satisfied
8 --> $DIR/region-bounds-on-objects-and-type-parameters.rs:21:8
10 LL | z: Box<dyn Is<'a>+'b+'c>,
11 | ^^^^^^^^^^^^^^^^^^^^^
13 note: lifetime parameter instantiated with the lifetime `'b` as defined here
14 --> $DIR/region-bounds-on-objects-and-type-parameters.rs:11:15
16 LL | struct Foo<'a,'b,'c> {
18 note: but lifetime parameter must outlive the lifetime `'a` as defined here
19 --> $DIR/region-bounds-on-objects-and-type-parameters.rs:11:12
21 LL | struct Foo<'a,'b,'c> {
24 error[E0392]: parameter `'c` is never used
25 --> $DIR/region-bounds-on-objects-and-type-parameters.rs:11:18
27 LL | struct Foo<'a,'b,'c> {
30 = help: consider removing `'c`, referring to it in a field, or using a marker such as `PhantomData`
32 error: aborting due to 3 previous errors
34 Some errors have detailed explanations: E0226, E0392, E0478.
35 For more information about an error, try `rustc --explain E0226`.