fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: lifetime may not live long enough 2 --> $DIR/regions-infer-paramd-indirect.rs:22:9 3 | 4LL | impl<'a> SetF<'a> for C<'a> { 5 | -- lifetime `'a` defined here 6... 7LL | fn set_f_bad(&mut self, b: Box<B>) { 8 | - has type `std::boxed::Box<std::boxed::Box<&'1 isize>>` 9LL | self.f = b; 10 | ^^^^^^ assignment requires that `'1` must outlive `'a` 11 12error: aborting due to previous error 13