Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
df59800b0875719b6f661cc191fa35263a29efa3
/
.
/
tests
/
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
()
{
}