about summary refs log tree commit diff
path: root/tests/ui/coherence/trait-implementation-coherence-check-57162.rs
blob: a57e827ca8bf59a73a5677afeb380aeaff86e2fa (plain)
1
2
3
4
5
6
7
8
// 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() {}