2017-05-09 20:51:18 +02:00
|
|
|
pub trait Arbitrary: Sized + 'static {}
|
|
|
|
|
2017-11-20 13:13:27 +01:00
|
|
|
impl<'a, A: Clone> Arbitrary for ::std::borrow::Cow<'a, A> {} //~ ERROR lifetime bound
|
2024-07-18 11:37:19 -04:00
|
|
|
//~^ ERROR cannot infer an appropriate lifetime for lifetime parameter `'a`
|
2017-05-09 20:51:18 +02:00
|
|
|
|
|
|
|
fn main() {
|
2017-11-20 13:13:27 +01:00
|
|
|
}
|