summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-57162.rs
blob: 650700602872167ec50f475d61e1577aaa72551f (plain)
1
2
3
4
5
6
7
// check-pass

trait Foo {}
impl Foo for dyn Send {}

impl<T: Sync + Sync> Foo for T {}
fn main() {}