Sign in
rust
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
tests
/
ui
/
issues
/
issue-20939.rs
blob: c0c222978970d51d36a34a93e7a465d3e2833333 [
file
] [
log
] [
blame
]
trait
Foo
{}
impl
<
'a> Foo for dyn Foo + '
a
{}
//~^ ERROR the object type `(dyn Foo + 'a)` automatically implements the trait `Foo`
fn
main
()
{}