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