Uh oh!
There was an error while loading. Please reload this page.
Fix printing regions with -Z verbose - #43458
Conversation
rust-highfive
commented
Jul 24, 2017
(rust_highfive has picked a reviewer for you, use r? to override) |
This is a real output change - now e.g. a borrow for static lifetime displays as |
Ah, indeed. I did not realize this. I will push a patch which just changes the conditional to be
At the very least, then the documentation of I generally find it rather strange that |
RalfJung
commented
Jul 25, 2017
CI failure looks like network problem. |
arielb1
commented
Jul 25, 2017
@bors r+ rollup |
bors
commented
Jul 25, 2017
📌 Commit 4e1249d has been approved by |
RalfJung
commented
Jul 25, 2017
Thanks :) |
nikomatsakis
commented
Jul 25, 2017
@bors r+ |
bors
commented
Jul 25, 2017
💡 This pull request was already approved, no need to approve it again.
|
bors
commented
Jul 25, 2017
📌 Commit 4e1249d has been approved by |
Fix printing regions with -Z verbose When dumping MIR with `-Z verbose`, it would print regions on types, but not in the code. It seems the Rvalue printing code tried to be smart and guessed when the `Display` for `Region` would not possibly print anything. This PR makes it no longer be smart, and just always use the `Display` like all the other code (e.g. printing types) does.
When dumping MIR with
-Z verbose, it would print regions on types, but not in the code. It seems the Rvalue printing code tried to be smart and guessed when theDisplayforRegionwould not possibly print anything.This PR makes it no longer be smart, and just always use the
Displaylike all the other code (e.g. printing types) does.