aboutsummaryrefslogtreecommitdiff
path: root/proc-macro-error/test-crate/tests/ui/not_proc_macro.stderr
blob: 52d6a096e61d0624ac3a1206ccade34adfd8596e (plain)
1
2
3
4
5
6
7
8
error: #[proc_macro_error] attribute can be used only with a proc-macro

  hint: if you are really sure that #[proc_macro_error] should be applied to this exact function use #[proc_macro_error(allow_not_macro)]

 --> $DIR/not_proc_macro.rs:3:1
  |
3 | #[proc_macro_error]
  | ^^^^^^^^^^^^^^^^^^^