summary refs log tree commit diff
path: root/src/test/ui/proc-macro/proc-macro-attributes.rs
blob: 6401522bdf89c0e00b5062be142811f10e53688b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// aux-build:derive-b.rs

#[macro_use]
extern crate derive_b;

#[B] //~ ERROR `B` is ambiguous
#[C] //~ ERROR cannot find attribute `C` in this scope
#[B(D)] //~ ERROR `B` is ambiguous
#[B(E = "foo")] //~ ERROR `B` is ambiguous
#[B(arbitrary tokens)] //~ ERROR `B` is ambiguous
#[derive(B)]
struct B;

fn main() {}