From fc584793237c388e9dca76ef406d1af34e453fe2 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Thu, 18 Dec 2014 20:09:57 -0800 Subject: Stop using macro_escape as an inner attribute In preparation for the rename. --- src/libcoretest/num/int_macros.rs | 2 -- src/libcoretest/num/mod.rs | 5 +++++ src/libcoretest/num/uint_macros.rs | 2 -- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src/libcoretest/num') diff --git a/src/libcoretest/num/int_macros.rs b/src/libcoretest/num/int_macros.rs index 8885d3a5208..965ffde7097 100644 --- a/src/libcoretest/num/int_macros.rs +++ b/src/libcoretest/num/int_macros.rs @@ -8,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![macro_escape] - macro_rules! int_module (($T:ty, $T_i:ident) => ( #[cfg(test)] mod tests { diff --git a/src/libcoretest/num/mod.rs b/src/libcoretest/num/mod.rs index 651e8640e91..01868675c76 100644 --- a/src/libcoretest/num/mod.rs +++ b/src/libcoretest/num/mod.rs @@ -14,13 +14,18 @@ use core::num::{NumCast, cast}; use core::ops::{Add, Sub, Mul, Div, Rem}; use core::kinds::Copy; +#[macro_escape] mod int_macros; + mod i8; mod i16; mod i32; mod i64; mod int; + +#[macro_escape] mod uint_macros; + mod u8; mod u16; mod u32; diff --git a/src/libcoretest/num/uint_macros.rs b/src/libcoretest/num/uint_macros.rs index 2311c19d557..eff238c816e 100644 --- a/src/libcoretest/num/uint_macros.rs +++ b/src/libcoretest/num/uint_macros.rs @@ -8,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![macro_escape] - macro_rules! uint_module (($T:ty, $T_i:ident) => ( #[cfg(test)] mod tests { -- cgit 1.4.1-3-g733a5