summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/proc_macro_bug.stderr
blob: 77bdf201924f970ffe9e0e9e204dc4ca1e956cd6 (plain)
1
2
3
4
5
6
7
8
error: the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type
  --> $DIR/proc_macro_bug.rs:8:1
   |
LL | #[proc_macro_derive(DeriveA)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 1 previous error