Skip to content

Commit 954e236

Browse files
committed
---
yaml --- r: 109845 b: refs/heads/master c: 0ce17d9 h: refs/heads/master i: 109843: c39b0d7 v: v3
1 parent 153ab7d commit 954e236

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 194242f096b56a4ac79d20075a244071c6abfe9b
2+
refs/heads/master: 0ce17d941dbeab048de21dd72f893d3dab982988
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c7fac4471201977fdb1c0c0a26c87287e12dc644
55
refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d

trunk/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)