rust/tests/ui/static/static-lifetime.rs
2023-01-11 09:32:08 +00:00

7 lines
143 B
Rust

pub trait Arbitrary: Sized + 'static {}
impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {} //~ ERROR lifetime bound
fn main() {
}