Skip to content

Commit e325d02

Browse files
committed
Remove old serialization2 vestigial code
1 parent 3e0dcd4 commit e325d02

File tree

5 files changed

+2
-14
lines changed

5 files changed

+2
-14
lines changed

src/libstd/ebml2.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/libstd/prettyprint2.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/libstd/serialization2.rs

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/libstd/std.rc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ pub mod treemap;
6969
// And ... other stuff
7070

7171
pub mod ebml;
72-
pub mod ebml2;
7372
pub mod dbg;
7473
pub mod getopts;
7574
pub mod json;
@@ -79,7 +78,6 @@ pub mod tempfile;
7978
pub mod term;
8079
pub mod time;
8180
pub mod prettyprint;
82-
pub mod prettyprint2;
8381
pub mod arena;
8482
pub mod par;
8583
pub mod cmp;
@@ -93,7 +91,6 @@ mod unicode;
9391

9492
pub mod test;
9593
pub mod serialization;
96-
pub mod serialization2;
9794

9895
// Local Variables:
9996
// mode: rust;

src/rustc/metadata/csearch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Searching for information from the cstore
22

3-
use std::ebml2;
3+
use std::ebml;
44
use syntax::ast;
55
use syntax::ast_util;
66
use syntax::ast_map;
@@ -136,7 +136,7 @@ fn get_field_type(tcx: ty::ctxt, class_id: ast::def_id,
136136
def: ast::def_id) -> ty::ty_param_bounds_and_ty {
137137
let cstore = tcx.cstore;
138138
let cdata = cstore::get_crate_data(cstore, class_id.crate);
139-
let all_items = ebml2::get_doc(ebml2::Doc(cdata.data), tag_items);
139+
let all_items = ebml::get_doc(ebml::Doc(cdata.data), tag_items);
140140
debug!("Looking up %?", class_id);
141141
let class_doc = expect(tcx.diag,
142142
decoder::maybe_find_item(class_id.node, all_items),

0 commit comments

Comments
 (0)