about summary refs log tree commit diff
path: root/tests/ui/static/static-lifetime.rs
blob: a861a2ffedab4bd69c63d16749431e294c7658e0 (plain)
1
2
3
4
5
6
7
pub trait Arbitrary: Sized + 'static {}

impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {} //~ ERROR lifetime bound
//~^ ERROR cannot infer an appropriate lifetime for lifetime parameter `'a`

fn main() {
}