librustc_save_analysis: remove duplicate macro def

This commit is contained in:
Benjamin Herr 2016-03-28 23:21:52 +02:00
parent 37f8429f3d
commit 4bb767965c
2 changed files with 0 additions and 12 deletions

View File

@ -20,17 +20,6 @@
use syntax::ast::{CrateNum, NodeId};
use syntax::codemap::Span;
#[macro_export]
macro_rules! down_cast_data {
($id:ident, $kind:ident, $sp:expr) => {
let $id = if let super::Data::$kind(data) = $id {
data
} else {
span_bug!($sp, "unexpected data kind: {:?}", $id);
}
};
}
pub struct CrateData {
pub name: String,
pub number: u32,

View File

@ -47,7 +47,6 @@
use syntax::print::pprust::ty_to_string;
mod csv_dumper;
#[macro_use]
mod data;
mod dump;
mod dump_visitor;