|
1 |
| -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT |
| 1 | +// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT |
2 | 2 | // file at the top-level directory of this distribution and at
|
3 | 3 | // http://rust-lang.org/COPYRIGHT.
|
4 | 4 | //
|
@@ -211,17 +211,14 @@ pub fn get_field_type(tcx: ty::ctxt, class_id: ast::DefId,
|
211 | 211 | let cstore = tcx.cstore;
|
212 | 212 | let cdata = cstore.get_crate_data(class_id.crate);
|
213 | 213 | let all_items = reader::get_doc(reader::Doc(cdata.data()), tag_items);
|
214 |
| - debug!("Looking up {:?}", class_id); |
215 | 214 | let class_doc = expect(tcx.diag,
|
216 | 215 | decoder::maybe_find_item(class_id.node, all_items),
|
217 | 216 | || format!("get_field_type: class ID {:?} not found",
|
218 | 217 | class_id) );
|
219 |
| - debug!("looking up {:?} : {:?}", def, class_doc); |
220 | 218 | let the_field = expect(tcx.diag,
|
221 | 219 | decoder::maybe_find_item(def.node, class_doc),
|
222 | 220 | || format!("get_field_type: in class {:?}, field ID {:?} not found",
|
223 | 221 | class_id, def) );
|
224 |
| - debug!("got field data {:?}", the_field); |
225 | 222 | let ty = decoder::item_type(def, the_field, tcx, cdata);
|
226 | 223 | ty::ty_param_bounds_and_ty {
|
227 | 224 | generics: ty::Generics {type_param_defs: @~[],
|
|
0 commit comments