summary refs log tree commit diff
path: root/tests/ui/proc-macro/derive-bad.rs
blob: c8f3a77ea4c5f1bf2cd3fdfaa893e87626699325 (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() {}