Files
rust/tests/ui/coherence/trait-implementation-coherence-check-57162.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
152 B
Rust
Raw Normal View History

2025-08-20 14:02:50 -04:00
// https://github.com/rust-lang/rust/issues/57162
//@ check-pass
2019-01-04 21:53:00 +02:00
trait Foo {}
impl Foo for dyn Send {}
impl<T: Sync + Sync> Foo for T {}
fn main() {}