]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/derive-bad.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / proc-macro / derive-bad.rs
1 // aux-build:derive-bad.rs
2
3 #[macro_use]
4 extern crate derive_bad;
5
6 #[derive(A)]
7 //~^ ERROR proc-macro derive produced unparseable tokens
8 //~| ERROR expected `:`, found `}`
9 struct A; //~ ERROR the name `A` is defined multiple times
10
11 fn main() {}