daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
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