librustc_save_analysis: remove duplicate macro def
This commit is contained in:
parent
37f8429f3d
commit
4bb767965c
@ -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,
|
||||
|
@ -47,7 +47,6 @@
|
||||
use syntax::print::pprust::ty_to_string;
|
||||
|
||||
mod csv_dumper;
|
||||
#[macro_use]
|
||||
mod data;
|
||||
mod dump;
|
||||
mod dump_visitor;
|
||||
|
Loading…
Reference in New Issue
Block a user