Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. struct A {
  2.  
  3. }
  4.  
  5. struct B<'a> {
  6. x: &'a str,
  7. }
  8.  
  9. trait X {
  10. type Item;
  11. }
  12.  
  13. impl<'a> X for A {
  14. type Item = B<'a>;
  15. }
  16.  
  17. fn main() {
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement