]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail-fulldeps/proc-macro/proc-macro-attributes.rs
Fix undesirable fallout
[rust.git] / src / test / compile-fail-fulldeps / proc-macro / proc-macro-attributes.rs
index df3f7a239b926b9132e752ebe953f35ab49368fe..215d51c227084ed19931519fd31b458b8553919f 100644 (file)
 extern crate derive_b;
 
 #[derive(B)]
-#[B]
-#[C] //~ ERROR: The attribute `C` is currently unknown to the compiler
+#[B] //~ ERROR `B` is a derive mode
+#[C]
 #[B(D)]
 #[B(E = "foo")]
-#[B(arbitrary tokens)] //~ ERROR expected one of `(`, `)`, `,`, `::`, or `=`, found `tokens`
+#[B(arbitrary tokens)]
 struct B;
 
 fn main() {}