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

8 lines
138 B
Rust
Raw Normal View History

// build-pass (FIXME(62277): could be check-pass?)
2019-01-04 13:53:00 -06:00
trait Foo {}
impl Foo for dyn Send {}
impl<T: Sync + Sync> Foo for T {}
fn main() {}