| error[E0226]: only a single explicit lifetime bound is permitted |
| --> $DIR/region-bounds-on-objects-and-type-parameters.rs:31:22 |
| | |
| LL | z: Box<Is<'a>+'b+'c>, |
| | ^^ |
| |
| error[E0478]: lifetime bound not satisfied |
| --> $DIR/region-bounds-on-objects-and-type-parameters.rs:31:5 |
| | |
| LL | z: Box<Is<'a>+'b+'c>, |
| | ^^^^^^^^^^^^^^^^^^^^ |
| | |
| note: lifetime parameter instantiated with the lifetime 'b as defined on the struct at 21:15 |
| --> $DIR/region-bounds-on-objects-and-type-parameters.rs:21:15 |
| | |
| LL | struct Foo<'a,'b,'c> { //~ ERROR parameter `'c` is never used |
| | ^^ |
| note: but lifetime parameter must outlive the lifetime 'a as defined on the struct at 21:12 |
| --> $DIR/region-bounds-on-objects-and-type-parameters.rs:21:12 |
| | |
| LL | struct Foo<'a,'b,'c> { //~ ERROR parameter `'c` is never used |
| | ^^ |
| |
| error[E0392]: parameter `'c` is never used |
| --> $DIR/region-bounds-on-objects-and-type-parameters.rs:21:18 |
| | |
| LL | struct Foo<'a,'b,'c> { //~ ERROR parameter `'c` is never used |
| | ^^ unused type parameter |
| | |
| = help: consider removing `'c` or using a marker such as `std::marker::PhantomData` |
| |
| error: aborting due to 3 previous errors |
| |
| Some errors occurred: E0226, E0392, E0478. |
| For more information about an error, try `rustc --explain E0226`. |