]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/macro-attribute-expansion.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / macro-attribute-expansion.rs
index 6cf5dc8dec4182075f539b5ddb4c626187318ec4..60217139cd77804e60bc652b67b0de7552422ca2 100644 (file)
@@ -10,8 +10,6 @@
 
 // ignore-pretty - token trees can't pretty print
 
-#![feature(macro_rules)]
-
 macro_rules! descriptions {
     ($name:ident is $desc:expr) => {
         // Check that we will correctly expand attributes
@@ -22,8 +20,8 @@ macro_rules! descriptions {
 }
 
 // item
-descriptions!(DOG is "an animal")
-descriptions!(RUST is "a language")
+descriptions! { DOG is "an animal" }
+descriptions! { RUST is "a language" }
 
 pub fn main() {
 }