about summary refs log tree commit diff
path: root/src/libsyntax/diagnostics
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-07-16 10:28:42 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-07-19 20:38:00 -0700
commit707cf47ac814c7af124dcfe378f97c25eb6b4511 (patch)
treefa561bdbbc69e90121f2d431061d268c9c92ad93 /src/libsyntax/diagnostics
parent5e0a597a1a15e36ac7d855ca400e5add9d86716b (diff)
downloadrust-707cf47ac814c7af124dcfe378f97c25eb6b4511.tar.gz
rust-707cf47ac814c7af124dcfe378f97c25eb6b4511.zip
Register new snapshots
Diffstat (limited to 'src/libsyntax/diagnostics')
-rw-r--r--src/libsyntax/diagnostics/macros.rs26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/libsyntax/diagnostics/macros.rs b/src/libsyntax/diagnostics/macros.rs
index 4db5b93862f..c344168b62a 100644
--- a/src/libsyntax/diagnostics/macros.rs
+++ b/src/libsyntax/diagnostics/macros.rs
@@ -10,38 +10,12 @@
 
 #![macro_escape]
 
-// NOTE: remove after next snapshot
-#[cfg(stage0)]
-#[macro_export]
-macro_rules! __register_diagnostic(
-    ($code:tt, $description:tt) => ();
-    ($code:tt) => ()
-)
-
 #[macro_export]
 macro_rules! register_diagnostic(
     ($code:tt, $description:tt) => (__register_diagnostic!($code, $description));
     ($code:tt) => (__register_diagnostic!($code))
 )
 
-// NOTE: remove after next snapshot
-#[cfg(stage0)]
-#[macro_export]
-macro_rules! __build_diagnostic_array(
-    ($name:ident) => {
-        pub static $name: [(&'static str, &'static str), ..0] = [];
-    }
-)
-
-// NOTE: remove after next snapshot
-#[cfg(stage0)]
-#[macro_export]
-macro_rules! __diagnostic_used(
-    ($code:ident) => {
-        ()
-    }
-)
-
 #[macro_export]
 macro_rules! span_err(
     ($session:expr, $span:expr, $code:ident, $($message:tt)*) => ({