proc-macro-hack 0.5.20+deprecated

Procedural macros in expression position
Documentation
1
2
3
4
5
6
use proc_macro_hack::proc_macro_hack;

#[proc_macro_hack]
pub struct What;

fn main() {}