SHARE
TWEET

Untitled

a guest Apr 24th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. trait T {}
  2.  
  3. impl<X> T for X where for<'a> &'a X: IntoIterator, for<'a> <&'a X as IntoIterator>::IntoIter: ExactSizeIterator {}
  4.  
  5. fn main() {
  6.     let x = vec![0u32];
  7.     let y: &dyn T = &x;
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top