proc-macro-hack 0.5.20+deprecated

Procedural macros in expression position
Documentation
1
2
3
4
5
error: unexpected input to #[proc_macro_hack]
 --> tests/ui/unexpected.rs:4:5
  |
4 | pub struct What;
  |     ^^^^^^