2017-11-09 08:21:54 -06:00
|
|
|
error[E0478]: lifetime bound not satisfied
|
2017-05-09 13:51:18 -05:00
|
|
|
--> $DIR/static-lifetime.rs:13:20
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {} //~ ERROR lifetime bound
|
2017-05-09 13:51:18 -05:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
2017-11-09 08:21:54 -06:00
|
|
|
note: lifetime parameter instantiated with the lifetime 'a as defined on the impl at 13:1
|
|
|
|
--> $DIR/static-lifetime.rs:13:1
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {} //~ ERROR lifetime bound
|
2018-01-28 15:42:49 -06: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-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0478"
|