blob: 8c9434ce3cb0b304cea1347aee4c6d6afd19fb69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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`.
|