fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0478]: lifetime bound not satisfied 2 --> $DIR/static-lifetime.rs:3:20 3 | 4LL | impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {} 5 | ^^^^^^^^^ 6 | 7note: lifetime parameter instantiated with the lifetime `'a` as defined on the impl at 3:6 8 --> $DIR/static-lifetime.rs:3:6 9 | 10LL | impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {} 11 | ^^ 12 = note: but lifetime parameter must outlive the static lifetime 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0478`.