mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 12:36:35 +03:00
librustc_save_analysis: remove duplicate macro def
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user