diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-07-16 10:28:42 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-07-19 20:38:00 -0700 |
| commit | 707cf47ac814c7af124dcfe378f97c25eb6b4511 (patch) | |
| tree | fa561bdbbc69e90121f2d431061d268c9c92ad93 /src/libsyntax/diagnostics | |
| parent | 5e0a597a1a15e36ac7d855ca400e5add9d86716b (diff) | |
| download | rust-707cf47ac814c7af124dcfe378f97c25eb6b4511.tar.gz rust-707cf47ac814c7af124dcfe378f97c25eb6b4511.zip | |
Register new snapshots
Diffstat (limited to 'src/libsyntax/diagnostics')
| -rw-r--r-- | src/libsyntax/diagnostics/macros.rs | 26 |
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)*) => ({ |
