Skip to content

Commit 768aafa

Browse files
committed
---
yaml --- r: 273849 b: refs/heads/beta c: 4bb7679 h: refs/heads/master i: 273847: ebc2ee4
1 parent 03af97d commit 768aafa

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 37f8429f3d396c4d815f95c7dd49085ff4d8bdbe
26+
refs/heads/beta: 4bb767965c2dc80e3af44b2dea0c959e84da6605
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/src/librustc_save_analysis/data.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,6 @@ use rustc::ty;
2020
use syntax::ast::{CrateNum, NodeId};
2121
use syntax::codemap::Span;
2222

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-
3423
pub struct CrateData {
3524
pub name: String,
3625
pub number: u32,

branches/beta/src/librustc_save_analysis/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ use syntax::visit::{self, Visitor};
4747
use syntax::print::pprust::ty_to_string;
4848

4949
mod csv_dumper;
50-
#[macro_use]
5150
mod data;
5251
mod dump;
5352
mod dump_visitor;

0 commit comments

Comments
 (0)