1 use proc_macro_hack::proc_macro_hack; 2 3 #[proc_macro_hack] my_macro(input: TokenStream) -> TokenStream4fn my_macro(input: TokenStream) -> TokenStream { 5 unimplemented!() 6 } 7 main()8fn main() {} 9
1 use proc_macro_hack::proc_macro_hack; 2 3 #[proc_macro_hack] my_macro(input: TokenStream) -> TokenStream4fn my_macro(input: TokenStream) -> TokenStream { 5 unimplemented!() 6 } 7 main()8fn main() {} 9