Guest User

Untitled

a guest
Jan 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. struct A;
  2. impl Drop for A {
  3. fn drop(&mut self) {}
  4. }
  5.  
  6. const FOO: Option<A> = None; // const eval error
  7. //const FOO: Option<A> = Some(A); // const qualif error
  8.  
  9. const BAR: () = (FOO, ()).1;
Add Comment
Please, Sign In to add comment