Guest User

Untitled

a guest
Apr 22nd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. trait Foo {}
  2. trait Bar where Self: Sized, Option<Self>: Foo {}
  3.  
  4. struct Baz {}
  5. impl Bar for Baz {}
  6. impl Foo for Option<Baz> {}
  7.  
  8. fn main () {
  9. let _bar = Baz {};
  10. }
Add Comment
Please, Sign In to add comment