]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #43458 - RalfJung:verbose, r=nikomatsakis
authorMark Simulacrum <mark.simulacrum@gmail.com>
Wed, 26 Jul 2017 12:15:05 +0000 (06:15 -0600)
committerGitHub <noreply@github.com>
Wed, 26 Jul 2017 12:15:05 +0000 (06:15 -0600)
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.


Trivial merge