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