Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
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
()
{
}