]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/static-lifetime.rs
Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc
[rust.git] / src / test / ui / static / static-lifetime.rs
1 pub trait Arbitrary: Sized + 'static {}
2
3 impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {} //~ ERROR lifetime bound
4
5 fn main() {
6 }