diff options
| author | bors <bors@rust-lang.org> | 2014-07-20 04:31:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-07-20 04:31:33 +0000 |
| commit | 7d0a613d0c462a07b97a35faf73cac8de66bc52a (patch) | |
| tree | a5baecce8ba180d9e5c5d50a4f3685c7648425fc /src/libsyntax/diagnostics | |
| parent | 56fafe28ee17a4aa48795083ee08be744f068067 (diff) | |
| parent | 707cf47ac814c7af124dcfe378f97c25eb6b4511 (diff) | |
| download | rust-7d0a613d0c462a07b97a35faf73cac8de66bc52a.tar.gz rust-7d0a613d0c462a07b97a35faf73cac8de66bc52a.zip | |
auto merge of #15776 : alexcrichton/rust/snapshots, r=huonw
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)*) => ({ |
