Guest User

Untitled

a guest
May 27th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. trait XClone {}
  2. trait XCopy: XClone {}
  3.  
  4. impl<T: XCopy> XClone for T {}
  5.  
  6. struct SomeStruct<T>(T);
  7. impl<T: XCopy> XCopy for SomeStruct<T> {}
  8. impl<T: XClone> XClone for SomeStruct<T> {}
  9.  
  10. fn main() {}
Add Comment
Please, Sign In to add comment