Sign in
android
/
toolchain
/
rustc
/
f7ad1c480b8dc4097ef67cd82ec1c5b706e10950
/
.
/
src
/
test
/
ui
/
underscore-lifetime
/
where-clauses.rs
blob: ee6823b80478218433ceec45055b2423b41fa754 [
file
] [
log
] [
blame
]
trait
Foo
<
'
a
>
{}
impl
<
'b: '
_
>
Foo
<
'b> for i32 {} //~ ERROR `'
_
`
cannot be used here
impl
<
T
:
'_> Foo<'
static
>
for
Vec
<
T
>
{}
//~ ERROR `'_` cannot be used here
fn
main
()
{
}