summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/derive-bad.rs
blob: 92d35f5371ab86146663d018f5efed7d14298792 (plain)
1
2
3
4
5
6
7
8
9
10
11
// aux-build:derive-bad.rs

#[macro_use]
extern crate derive_bad;

#[derive(A)]
//~^ ERROR proc-macro derive produced unparsable tokens
//~| ERROR expected `:`, found `}`
struct A; //~ ERROR the name `A` is defined multiple times

fn main() {}