]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/static-lifetime.rs
Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree
[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 }