Skip to content

Commit 86b0564

Browse files
committed
rustc/metadata: Removed stray debug statements
1 parent 47660f7 commit 86b0564

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/librustc/metadata/csearch.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -211,17 +211,14 @@ pub fn get_field_type(tcx: ty::ctxt, class_id: ast::DefId,
211211
let cstore = tcx.cstore;
212212
let cdata = cstore.get_crate_data(class_id.crate);
213213
let all_items = reader::get_doc(reader::Doc(cdata.data()), tag_items);
214-
debug!("Looking up {:?}", class_id);
215214
let class_doc = expect(tcx.diag,
216215
decoder::maybe_find_item(class_id.node, all_items),
217216
|| format!("get_field_type: class ID {:?} not found",
218217
class_id) );
219-
debug!("looking up {:?} : {:?}", def, class_doc);
220218
let the_field = expect(tcx.diag,
221219
decoder::maybe_find_item(def.node, class_doc),
222220
|| format!("get_field_type: in class {:?}, field ID {:?} not found",
223221
class_id, def) );
224-
debug!("got field data {:?}", the_field);
225222
let ty = decoder::item_type(def, the_field, tcx, cdata);
226223
ty::ty_param_bounds_and_ty {
227224
generics: ty::Generics {type_param_defs: @~[],

0 commit comments

Comments
 (0)