Guest User

Untitled

a guest
Sep 14th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. struct Foo {}
  2.  
  3. impl Drop for Foo {
  4. fn drop(&mut self) {
  5. panic!("Double panic!");
  6. }
  7. }
  8.  
  9. pub fn main() {
  10. let _d = Foo {};
  11. panic!();
  12. }
Add Comment
Please, Sign In to add comment