2017-11-09 08:21:54 -06:00
|
|
|
error[E0478]: lifetime bound not satisfied
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/static-lifetime.rs:3:20
|
2017-05-09 13:51:18 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {}
|
2017-05-09 13:51:18 -05:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
2021-10-05 07:11:51 -05:00
|
|
|
note: lifetime parameter instantiated with the lifetime `'a` as defined here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/static-lifetime.rs:3:6
|
2017-11-09 08:21:54 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {}
|
2018-06-27 18:44:39 -05:00
|
|
|
| ^^
|
2017-11-09 08:21:54 -06:00
|
|
|
= note: but lifetime parameter must outlive the static lifetime
|
2017-05-09 13:51:18 -05:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to previous error
|
2017-05-09 13:51:18 -05:00
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0478`.
|