Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
ab1f382ca8fa4a4c0dde58679207f9bec394fa0e
/
.
/
tests
/
ui
/
error-codes
/
E0227.rs
blob: bab6d8af476e3bbf135019ff0ed7b6db1ec5687f [
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
()
{}