1 error[E0308]: mismatched types
2 --> $DIR/regions-infer-paramd-indirect.rs:22:18
7 = note: expected type `std::boxed::Box<std::boxed::Box<&'a isize>>`
8 found type `std::boxed::Box<std::boxed::Box<&isize>>`
9 note: the anonymous lifetime #2 defined on the method body at 21:5...
10 --> $DIR/regions-infer-paramd-indirect.rs:21:5
12 LL | / fn set_f_bad(&mut self, b: Box<B>) {
20 note: ...does not necessarily outlive the lifetime 'a as defined on the impl at 16:6
21 --> $DIR/regions-infer-paramd-indirect.rs:16:6
23 LL | impl<'a> SetF<'a> for C<'a> {
26 error: aborting due to previous error
28 For more information about this error, try `rustc --explain E0308`.