Skip to content

Commit 5a86f5d

Browse files
committed
rustc: Convert two printlns in trans into debug!
1 parent 5fc4e51 commit 5a86f5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rustc/middle/trans/meth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ fn trans_method_callee(bcx: block, callee_id: ast::node_id,
155155
// Get the ID of the impl we're inside.
156156
let impl_def_id = bcx.fcx.impl_id.get();
157157

158-
io::println(fmt!("impl_def_id is %?", impl_def_id));
158+
debug!("impl_def_id is %?", impl_def_id);
159159

160160
// Get the ID of the method we're calling.
161161
let method_name =

src/rustc/middle/trans/monomorphize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ fn monomorphic_fn(ccx: @crate_ctxt,
203203
ast_map::node_trait_method(@ast::provided(mth), _, pt) => {
204204
let d = mk_lldecl();
205205
set_inline_hint_if_appr(mth.attrs, d);
206-
io::println(fmt!("monomorphic_fn impl_did_opt is %?", impl_did_opt));
206+
debug!("monomorphic_fn impl_did_opt is %?", impl_did_opt);
207207
meth::trans_method(ccx, *pt, mth, psubsts, None, d,
208208
impl_did_opt.get());
209209
d

0 commit comments

Comments
 (0)