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