Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. trait First {}
  2. trait Second {
  3. type Wow: First;
  4. }
  5. trait Third {
  6. type Lol: Second;
  7. }
  8. trait Forth {
  9. type Hmm: Third;
  10. }
  11.  
  12. fn kek<One, Two, Three, Four>(_: Four)
  13. where
  14. Four: Forth<Hmm = Three>,
  15. Three: Third<Lol = Two>,
  16. Two: Second<Wow = One>,
  17. One: First,
  18. One: Send,
  19. Two: Send,
  20. Three: Send,
  21. Four: Send,
  22. {
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement