about summary refs log tree commit diff
path: root/src/liblog
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2014-12-18 20:09:57 -0800
committerKeegan McAllister <kmcallister@mozilla.com>2015-01-05 12:00:57 -0800
commitfc584793237c388e9dca76ef406d1af34e453fe2 (patch)
tree9b8116de6b62341df1fee3edb56368b35d984fd3 /src/liblog
parent73806ddd0fd91066d7b903a00a080cbadcc04311 (diff)
Stop using macro_escape as an inner attribute
In preparation for the rename.
Diffstat (limited to 'src/liblog')
-rw-r--r--src/liblog/lib.rs2
-rw-r--r--src/liblog/macros.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs
index 0508402ff19..61523c6fd0f 100644
--- a/src/liblog/lib.rs
+++ b/src/liblog/lib.rs
@@ -183,7 +183,9 @@ use regex::Regex;
 
 use directive::LOG_LEVEL_NAMES;
 
+#[macro_escape]
 pub mod macros;
+
 mod directive;
 
 /// Maximum logging level of a module that can be specified. Common logging
diff --git a/src/liblog/macros.rs b/src/liblog/macros.rs
index 233d1c049f4..66682dba7b6 100644
--- a/src/liblog/macros.rs
+++ b/src/liblog/macros.rs
@@ -10,8 +10,6 @@
 
 //! Logging macros
 
-#![macro_escape]
-
 /// The standard logging macro
 ///
 /// This macro will generically log over a provided level (of type u32) with a