daily pastebin goal
63%
SHARE
TWEET

Untitled

a guest Jan 11th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. macro_rules! foo {
  2.     ($x:ident) => { fn $x() {} };
  3.     () => { fn bar() {} };
  4. }
  5.  
  6. foo!();
  7. foo!(baz);
  8.  
  9. #[dervive(Foo)]
  10. struct Bar;
  11.  
  12. fn main() {
  13.     bar();
  14.     baz();
  15.     let _ = Bar;
  16. }
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