Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
coherence
/
trait-implementation-coherence-check-57162.rs
blob: a57e827ca8bf59a73a5677afeb380aeaff86e2fa [
file
] [
log
] [
blame
]
// https://github.com/rust-lang/rust/issues/57162
//@ check-pass
trait
Foo
{}
impl
Foo
for
dyn
Send
{}
impl
<
T
:
Sync
+
Sync
>
Foo
for
T
{}
fn
main
()
{}