1 // aux-build:derive-b.rs
6 #[B] //~ ERROR `B` is ambiguous
7 //~| WARN derive helper attribute is used before it is introduced
8 //~| WARN this was previously accepted
9 #[C] //~ ERROR cannot find attribute `C` in this scope
10 #[B(D)] //~ ERROR `B` is ambiguous
11 //~| WARN derive helper attribute is used before it is introduced
12 //~| WARN this was previously accepted
13 #[B(E = "foo")] //~ ERROR `B` is ambiguous
14 //~| WARN derive helper attribute is used before it is introduced
15 //~| WARN this was previously accepted
16 #[B(arbitrary tokens)] //~ ERROR `B` is ambiguous
17 //~| WARN derive helper attribute is used before it is introduced
18 //~| WARN this was previously accepted