about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorJonas Schievink <jonas@schievink.net>2016-05-13 00:20:59 +0200
committerJonas Schievink <jonas@schievink.net>2016-05-13 00:20:59 +0200
commit96b178b131c63b38aa760381a4a0359fd8a17ed1 (patch)
treeb9685e58ef6bbfba5547e828d13b3df344aad20c /src/liballoc_system
parente88defe71806ad190588e168e513bc1098f7c9fb (diff)
downloadrust-96b178b131c63b38aa760381a4a0359fd8a17ed1.tar.gz
rust-96b178b131c63b38aa760381a4a0359fd8a17ed1.zip
Some simple improvements to MIR pretty printing
In short, this PR changes the MIR printer so that it:

* places an empty line between the MIR for each item
* does *not* write an empty line before the first BB when there are no
  var decls
* aligns the "// Scope" comments 50 chars in (makes the output more
  readable)
* prints the scope comments as "// scope N at ..." instead of "//
  Scope(N) at ..."
* prints a prettier scope tree:
 * no more unbalanced delimiters!
 * no more "Parent" entry (these convey no useful information)
 * drop the "Scope()" and just print scope IDs
 * no braces when the scope is empty
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions