rust/tests/ui/static/static-lifetime.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
143 B
Rust
Raw Normal View History

2017-05-09 18:51:18 +00:00
pub trait Arbitrary: Sized + 'static {}
2017-11-20 12:13:27 +00:00
impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {} //~ ERROR lifetime bound
2017-05-09 18:51:18 +00:00
fn main() {
2017-11-20 12:13:27 +00:00
}