Skip to content

Commit

Permalink
add test for #57162
Browse files Browse the repository at this point in the history
Fixes #57162.
  • Loading branch information
arielb1 committed Jan 4, 2019
1 parent bb1afa1 commit c213b0d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/test/ui/issues/issue-57162.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// compile-pass

trait Foo {}
impl Foo for dyn Send {}

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

0 comments on commit c213b0d

Please sign in to comment.