about summary refs log tree commit diff
path: root/tests/ui/proc-macro/derive-bad.rs
blob: 9b237c731dbe435612f6c93c14152c042d4b787f (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ proc-macro: 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() {}