Sign in
android
/
toolchain
/
rustc
/
d2dbbcd40813d506244f1255bc2c84088a0197e1
/
.
/
src
/
test
/
ui
/
error-codes
/
E0227.rs
blob: 0f0a781d2f9d30b46dc24369cb7b7e29aa6f9f45 [
file
] [
log
] [
blame
]
trait
Foo
<
'foo>: '
foo
{}
trait
Bar
<
'bar>: '
bar
{}
trait
FooBar
<
'foo, '
bar
>:
Foo
<
'foo> + Bar<'
bar
>
{}
struct
Baz
<
'foo, '
bar
>
{
baz
:
dyn
FooBar
<
'foo, '
bar
>,
//~^ ERROR ambiguous lifetime bound, explicit lifetime bound required
}
fn
main
()
{
}