Skip to content

Commit e21b48c

Browse files
committed
remove commented code that used to cause borrowck error
Fixes #2280
1 parent 0a50489 commit e21b48c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/rustc/middle/trans/base.rs

-10
Original file line numberDiff line numberDiff line change
@@ -2714,16 +2714,6 @@ fn trans_crate(sess: session::session,
27142714
io::println(fmt!("n_monos: %u", ccx.stats.n_monos));
27152715
io::println(fmt!("n_inlines: %u", ccx.stats.n_inlines));
27162716
io::println(fmt!("n_closures: %u", ccx.stats.n_closures));
2717-
2718-
// FIXME (#2280): this temporary shouldn't be
2719-
// necessary, but seems to be, for borrowing.
2720-
/*
2721-
let times = copy *ccx.stats.fn_times;
2722-
for vec::each(times) |timing| {
2723-
io::println(fmt!("time: %s took %d ms", timing.ident,
2724-
timing.time));
2725-
}
2726-
*/
27272717
}
27282718

27292719
if ccx.sess.count_llvm_insns() {

0 commit comments

Comments
 (0)