]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/static-lifetime.rs
Sync rust-lang/portable-simd@5f49d4c8435a25d804b2f375e949cb25479f5be9
[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 }