Skip to content

Commit

Permalink
rustc/metadata: Removed stray debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
angdev committed Jan 22, 2014
1 parent 47660f7 commit 86b0564
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/librustc/metadata/csearch.rs
@@ -1,4 +1,4 @@
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
Expand Down Expand Up @@ -211,17 +211,14 @@ pub fn get_field_type(tcx: ty::ctxt, class_id: ast::DefId,
let cstore = tcx.cstore;
let cdata = cstore.get_crate_data(class_id.crate);
let all_items = reader::get_doc(reader::Doc(cdata.data()), tag_items);
debug!("Looking up {:?}", class_id);
let class_doc = expect(tcx.diag,
decoder::maybe_find_item(class_id.node, all_items),
|| format!("get_field_type: class ID {:?} not found",
class_id) );
debug!("looking up {:?} : {:?}", def, class_doc);
let the_field = expect(tcx.diag,
decoder::maybe_find_item(def.node, class_doc),
|| format!("get_field_type: in class {:?}, field ID {:?} not found",
class_id, def) );
debug!("got field data {:?}", the_field);
let ty = decoder::item_type(def, the_field, tcx, cdata);
ty::ty_param_bounds_and_ty {
generics: ty::Generics {type_param_defs: @~[],
Expand Down

13 comments on commit 86b0564

@bors
Copy link
Contributor

@bors bors commented on 86b0564 Jan 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at angdev@86b0564

@bors
Copy link
Contributor

@bors bors commented on 86b0564 Jan 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging FeGs/rust/stray-debug-in-metadata = 86b0564 into auto

@bors
Copy link
Contributor

@bors bors commented on 86b0564 Jan 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FeGs/rust/stray-debug-in-metadata = 86b0564 merged ok, testing candidate = c1eb17f1

@bors
Copy link
Contributor

@bors bors commented on 86b0564 Jan 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at angdev@86b0564

@bors
Copy link
Contributor

@bors bors commented on 86b0564 Jan 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging FeGs/rust/stray-debug-in-metadata = 86b0564 into auto

@bors
Copy link
Contributor

@bors bors commented on 86b0564 Jan 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FeGs/rust/stray-debug-in-metadata = 86b0564 merged ok, testing candidate = eab85dee

@bors
Copy link
Contributor

@bors bors commented on 86b0564 Jan 23, 2014

@bors
Copy link
Contributor

@bors bors commented on 86b0564 Jan 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at angdev@86b0564

@bors
Copy link
Contributor

@bors bors commented on 86b0564 Jan 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging FeGs/rust/stray-debug-in-metadata = 86b0564 into auto

@bors
Copy link
Contributor

@bors bors commented on 86b0564 Jan 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FeGs/rust/stray-debug-in-metadata = 86b0564 merged ok, testing candidate = aa9cf4c

@bors
Copy link
Contributor

@bors bors commented on 86b0564 Jan 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 86b0564 Jan 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = aa9cf4c

Please sign in to comment.