Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
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
()
{
}