summaryrefslogtreecommitdiffstats
path: root/src/test/ui/static/static-lifetime.rs
blob: ce1eeb6105f094736571c0c25982e28e4c9e4b11 (plain)
1
2
3
4
5
6
pub trait Arbitrary: Sized + 'static {}

impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {} //~ ERROR lifetime bound

fn main() {
}