We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37f8429 commit 4bb7679Copy full SHA for 4bb7679
src/librustc_save_analysis/data.rs
@@ -20,17 +20,6 @@ use rustc::ty;
20
use syntax::ast::{CrateNum, NodeId};
21
use syntax::codemap::Span;
22
23
-#[macro_export]
24
-macro_rules! down_cast_data {
25
- ($id:ident, $kind:ident, $sp:expr) => {
26
- let $id = if let super::Data::$kind(data) = $id {
27
- data
28
- } else {
29
- span_bug!($sp, "unexpected data kind: {:?}", $id);
30
- }
31
- };
32
-}
33
-
34
pub struct CrateData {
35
pub name: String,
36
pub number: u32,
src/librustc_save_analysis/lib.rs
@@ -47,7 +47,6 @@ use syntax::visit::{self, Visitor};
47
use syntax::print::pprust::ty_to_string;
48
49
mod csv_dumper;
50
-#[macro_use]
51
mod data;
52
mod dump;
53
mod dump_visitor;
0 commit comments