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