• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error: #[proc_macro_error] attribute can be used only with procedural macros
2
3  = hint: if you are really sure that #[proc_macro_error] should be applied to this exact function, use #[proc_macro_error(allow_not_macro)]
4
5 --> $DIR/not_proc_macro.rs:3:1
6  |
73 | #[proc_macro_error]
8  | ^^^^^^^^^^^^^^^^^^^
9  |
10  = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
11