Files
rust/tests/ui/coherence/trait-implementation-coherence-check-57162.rs
2025-09-12 14:45:12 -04:00

9 lines
152 B
Rust

// 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() {}