Skip to content

Commit c082bee

Browse files
committed
---
yaml --- r: 35231 b: refs/heads/master c: ec0c029 h: refs/heads/master i: 35229: 0adf08c 35227: 5738577 35223: bdd4fdc 35215: 09f25a0 35199: e5801a3 v: v3
1 parent dad352e commit c082bee

File tree

7 files changed

+661
-643
lines changed

7 files changed

+661
-643
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: 236fd32f0a6647997a68dc729460a1030fdc74cb
2+
refs/heads/master: ec0c029a7ed9ac34bec716193e51b15d29965b0e
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024

trunk/src/librustc/metadata/csearch.rs

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

33
use std::ebml;
4+
use Reader = std::ebml::Reader;
45
use syntax::ast;
56
use syntax::ast_util;
67
use syntax::ast_map;
@@ -181,7 +182,7 @@ fn get_field_type(tcx: ty::ctxt, class_id: ast::def_id,
181182
def: ast::def_id) -> ty::ty_param_bounds_and_ty {
182183
let cstore = tcx.cstore;
183184
let cdata = cstore::get_crate_data(cstore, class_id.crate);
184-
let all_items = ebml::get_doc(ebml::Doc(cdata.data), tag_items);
185+
let all_items = Reader::get_doc(Reader::Doc(cdata.data), tag_items);
185186
debug!("Looking up %?", class_id);
186187
let class_doc = expect(tcx.diag,
187188
decoder::maybe_find_item(class_id.node, all_items),

0 commit comments

Comments
 (0)