about summary refs log tree commit diff
path: root/src/test/mir-opt/spanview_terminator.main.mir_map.0.html
diff options
context:
space:
mode:
authorRich Kadel <richkadel@google.com>2020-09-03 20:31:18 -0700
committerRich Kadel <richkadel@google.com>2020-09-06 19:04:08 -0700
commit9046a9343bbf298cf835a6b4189827fffae38eb3 (patch)
tree60c614add18e5b03a80fe2b70da6b4c9b9ca543c /src/test/mir-opt/spanview_terminator.main.mir_map.0.html
parent4b65872d272875adb298b6dc12d5e4e79cf8e263 (diff)
downloadrust-9046a9343bbf298cf835a6b4189827fffae38eb3.tar.gz
rust-9046a9343bbf298cf835a6b4189827fffae38eb3.zip
Improved the MIR spanview output
* Adds missing "tail" spans (spans that continue beyond the end of
overlapping spans)
* Adds a caret to highlight empty spans associated with MIR elements
that have a position, but otherwise would not be visible.
* Adds visual pointing brackets at the beginning and end of each span
Diffstat (limited to 'src/test/mir-opt/spanview_terminator.main.mir_map.0.html')
-rw-r--r--src/test/mir-opt/spanview_terminator.main.mir_map.0.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/mir-opt/spanview_terminator.main.mir_map.0.html b/src/test/mir-opt/spanview_terminator.main.mir_map.0.html
index d0a11a8d262..e023f0f8aea 100644
--- a/src/test/mir-opt/spanview_terminator.main.mir_map.0.html
+++ b/src/test/mir-opt/spanview_terminator.main.mir_map.0.html
@@ -59,8 +59,8 @@
     </style>
 </head>
 <body>
-<div class="code" style="counter-reset: line 4"><span class="line"><span class="code" style="--layer: 0">fn main() {}</span><span><span class="code even" style="--layer: 1" title="bb0`Goto`: $DIR/spanview-terminator.rs:5:13: 5:13:
-    5:13-5:13: Goto: goto -&gt; bb2"><span class="annotation">@bb0`Goto`</span></span></span><span><span class="code even" style="--layer: 1" title="bb2`Return`: $DIR/spanview-terminator.rs:5:13: 5:13:
-    5:13-5:13: Return: return"><span class="annotation">@bb2`Return`</span></span></span></span></div>
+<div class="code" style="counter-reset: line 4"><span class="line"><span class="code" style="--layer: 0">fn main() {}</span><span><span class="code even" style="--layer: 1" title="0:Goto: $DIR/spanview-terminator.rs:5:13: 5:13:
+    5:13-5:13: Goto: goto -&gt; bb2"><span class="annotation">0:Goto⦊</span>‸<span class="annotation">⦉0:Goto</span></span></span><span><span class="code odd" style="--layer: 1" title="2:Return: $DIR/spanview-terminator.rs:5:13: 5:13:
+    5:13-5:13: Return: return"><span class="annotation">2:Return⦊</span>‸<span class="annotation">⦉2:Return</span></span></span></span></div>
 </body>
 </html>