]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/macro-with-attrs2.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / macro-with-attrs2.rs
index 3ac0d47e61a63665b8a8e339f16e205d55bd8e0d..f90a0dfa6b31e41c2bec64082769b381dbe2e19a 100644 (file)
@@ -8,13 +8,11 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(macro_rules)]
-
 #[cfg(foo)]
-macro_rules! foo( () => (1i) );
+macro_rules! foo { () => (1i) }
 
 #[cfg(not(foo))]
-macro_rules! foo( () => (2i) );
+macro_rules! foo { () => (2i) }
 
 pub fn main() {
     assert_eq!(foo!(), 2i);