Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
static
/
static-lifetime.rs
blob: a861a2ffedab4bd69c63d16749431e294c7658e0 [
file
] [
log
] [
blame
] [
edit
]
pub
trait
Arbitrary
:
Sized
+
'
static
{}
impl
<
'a, A: Clone> Arbitrary for ::std::borrow::Cow<'
a
,
A
>
{}
//~ ERROR lifetime bound
//~^ ERROR cannot infer an appropriate lifetime for lifetime parameter `'a`
fn
main
()
{
}