SHARE
TWEET

Untitled

a guest Aug 14th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. extern crate proc_macro;
  2. use proc_macro::TokenStream;
  3.  
  4. fn main() {
  5.     println!("Hello, world!");
  6. }
  7.  
  8. #[proc_macro]
  9. pub fn asd(_item: TokenStream) -> TokenStream{
  10.     _item
  11. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top