Sign in
fuchsia
/
third_party
/
rust
/
d782f09ae0b88a73a69e2fa3169222cdbc47d4ec
/
.
/
src
/
test
/
ui
/
underscore-lifetime
/
underscore-outlives-bounds.rs
blob: 567cc7a3f5fa3b9fa7e897118a5fa23334bbcfc5 [
file
] [
log
] [
blame
]
// Regression test to check that `'b: '_` gets an error, because it's
// basically useless.
//
// #54902
trait
Foo
<
'
a
>
{}
impl
<
'b: '
_
>
Foo
<
'b> for i32 {} //~ ERROR `'
_
`
cannot be used here
fn
main
()
{
}