summary refs log tree commit diff
path: root/src/test/ui/static-lifetime.stderr
blob: f73dff4f73d0ee43ba06369bcfed4a5a6f3ca13a (plain)
1
2
3
4
5
6
7
8
9
10
error[E0477]: the type `std::borrow::Cow<'a, A>` does not fulfill the required lifetime
  --> $DIR/static-lifetime.rs:13:20
   |
13 | impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {}
   |                    ^^^^^^^^^
   |
   = note: type must satisfy the static lifetime

error: aborting due to previous error