Skip to content

Commit 86ffe5d

Browse files
committed
Auto merge of rust-lang#31182 - adrianheine:master, r=pnkfelix
In 95d9046 output was accidentally moved from STDERR to STDOUT. This commit also changes the order of debug output. Previously, it was: ``` /* id 22: … */ { … } DEBUG:rustc::middle::dataflow: ``` Now, it is: ``` DEBUG:rustc::middle::dataflow: /* id 22: … */ { … } ```
2 parents c22cb53 + 71656d2 commit 86ffe5d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustc/middle/dataflow.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -527,8 +527,7 @@ impl<'a, 'tcx, O:DataFlowOperator+Clone+'static> DataFlowContext<'a, 'tcx, O> {
527527
debug!("{}", {
528528
let mut v = Vec::new();
529529
self.pretty_print_to(box &mut v, blk).unwrap();
530-
println!("{}", String::from_utf8(v).unwrap());
531-
""
530+
String::from_utf8(v).unwrap()
532531
});
533532
}
534533

0 commit comments

Comments
 (0)