Skip to content

Commit 0ae08ec

Browse files
committed
---
yaml --- r: 150493 b: refs/heads/try2 c: 0ce17d9 h: refs/heads/master i: 150491: 37c6c27 v: v3
1 parent 0ac20e7 commit 0ae08ec

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 194242f096b56a4ac79d20075a244071c6abfe9b
8+
refs/heads/try2: 0ce17d941dbeab048de21dd72f893d3dab982988
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/librustc/middle/astencode.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,6 @@ pub fn encode_inlined_item(ecx: &e::EncodeContext,
111111
ebml_w.writer.tell());
112112
}
113113

114-
pub fn encode_exported_macro(ebml_w: &mut Encoder, i: &ast::Item) {
115-
match i.node {
116-
ast::ItemMac(..) => encode_ast(ebml_w, ast::IIItem(@i.clone())),
117-
_ => fail!("expected a macro")
118-
}
119-
}
120-
121114
pub fn decode_inlined_item(cdata: @cstore::crate_metadata,
122115
tcx: &ty::ctxt,
123116
maps: &Maps,
@@ -173,13 +166,6 @@ pub fn decode_inlined_item(cdata: @cstore::crate_metadata,
173166
}
174167
}
175168

176-
pub fn decode_exported_macro(par_doc: ebml::Doc) -> @ast::Item {
177-
match decode_ast(par_doc) {
178-
ast::IIItem(item) => item,
179-
_ => fail!("expected item")
180-
}
181-
}
182-
183169
// ______________________________________________________________________
184170
// Enumerating the IDs which appear in an AST
185171

0 commit comments

Comments
 (0)