summary refs log tree commit diff
path: root/src/test/ui/proc-macro/proc-macro-attributes.rs
blob: 062053453ee42760684a576f8d15e568752fa407 (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 attribute `C` is currently unknown to the compiler
#[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() {}