rust/src/test/ui/issues/issue-57162.rs

8 lines
103 B
Rust
Raw Normal View History

2019-01-04 13:53:00 -06:00
// compile-pass
trait Foo {}
impl Foo for dyn Send {}
impl<T: Sync + Sync> Foo for T {}
fn main() {}