Guest User

Untitled

a guest
Jan 15th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. trait Foo<'a> {}
  2.  
  3. trait Bar {
  4. type Item: for<'a> Foo<'a>;
  5. }
  6.  
  7. fn foo<'a, T>(_: T)
  8. where
  9. T: Bar,
  10. T::Item: Foo<'a>
  11. {}
Add Comment
Please, Sign In to add comment