diff options
| author | Keegan McAllister <kmcallister@mozilla.com> | 2014-12-18 20:09:57 -0800 |
|---|---|---|
| committer | Keegan McAllister <kmcallister@mozilla.com> | 2015-01-05 12:00:57 -0800 |
| commit | fc584793237c388e9dca76ef406d1af34e453fe2 (patch) | |
| tree | 9b8116de6b62341df1fee3edb56368b35d984fd3 /src/libcoretest | |
| parent | 73806ddd0fd91066d7b903a00a080cbadcc04311 (diff) | |
| download | rust-fc584793237c388e9dca76ef406d1af34e453fe2.tar.gz rust-fc584793237c388e9dca76ef406d1af34e453fe2.zip | |
Stop using macro_escape as an inner attribute
In preparation for the rename.
Diffstat (limited to 'src/libcoretest')
| -rw-r--r-- | src/libcoretest/num/int_macros.rs | 2 | ||||
| -rw-r--r-- | src/libcoretest/num/mod.rs | 5 | ||||
| -rw-r--r-- | src/libcoretest/num/uint_macros.rs | 2 |
3 files changed, 5 insertions, 4 deletions
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 { |
