Skip to content

Commit

Permalink
Auto merge of rust-lang#31182 - adrianheine:master, r=pnkfelix
Browse files Browse the repository at this point in the history
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: … */ {
  …
}
```
  • Loading branch information
bors committed Jan 25, 2016
2 parents c22cb53 + 71656d2 commit 86ffe5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/librustc/middle/dataflow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,8 +527,7 @@ impl<'a, 'tcx, O:DataFlowOperator+Clone+'static> DataFlowContext<'a, 'tcx, O> {
debug!("{}", {
let mut v = Vec::new();
self.pretty_print_to(box &mut v, blk).unwrap();
println!("{}", String::from_utf8(v).unwrap());
""
String::from_utf8(v).unwrap()
});
}

Expand Down

0 comments on commit 86ffe5d

Please sign in to comment.