mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
17 lines
562 B
Plaintext
17 lines
562 B
Plaintext
error[E0478]: lifetime bound not satisfied
|
|
--> $DIR/static-lifetime.rs:3:20
|
|
|
|
|
LL | impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {}
|
|
| ^^^^^^^^^
|
|
|
|
|
note: lifetime parameter instantiated with the lifetime `'a` as defined here
|
|
--> $DIR/static-lifetime.rs:3:6
|
|
|
|
|
LL | impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {}
|
|
| ^^
|
|
= note: but lifetime parameter must outlive the static lifetime
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0478`.
|