Skip to content

Commit 9dc0d1d

Browse files
committed
path trimming: disable on src/test/run-make-fulldeps/coverage-spanview
1 parent ad14924 commit 9dc0d1d

13 files changed

+448
-446
lines changed

src/test/run-make-fulldeps/coverage-spanview/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ endif
4646
echo "--edition=2018" \
4747
) \
4848
--crate-type rlib \
49+
-Ztrim-diagnostic-paths=no \
4950
-Zinstrument-coverage \
5051
-Zdump-mir=InstrumentCoverage \
5152
-Zdump-mir-spanview \
@@ -77,6 +78,7 @@ endif
7778
echo "--edition=2018" \
7879
) \
7980
-L "$(TMPDIR)" \
81+
-Ztrim-diagnostic-paths=no \
8082
-Zinstrument-coverage \
8183
-Zdump-mir=InstrumentCoverage \
8284
-Zdump-mir-spanview \

src/test/run-make-fulldeps/coverage-spanview/expected_mir_dump.abort/abort.main.-------.InstrumentCoverage.0.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@
9797
26:9-26:23: @18[0]: _1 = move (_18.0: i32)"><span class="annotation">@17,18⦊</span>countdown -= 1<span class="annotation">⦉@17,18</span></span></span><span class="code" style="--layer: 0">;</span></span>
9898
<span class="line"><span class="code" style="--layer: 0"> }</span></span>
9999
<span class="line"><span class="code" style="--layer: 0"> </span><span><span class="code even" style="--layer: 1" title="28:8-28:10: @4[4]: _20 = ()
100-
28:5-28:11: @4[5]: _0 = Result::&lt;(), u8&gt;::Ok(move _20)
100+
28:5-28:11: @4[5]: _0 = std::result::Result::&lt;(), u8&gt;::Ok(move _20)
101101
29:2-29:2: @4.Return: return"><span class="annotation">@4⦊</span>Ok(())</span></span>
102102
<span class="line"><span class="code even" style="--layer: 1" title="28:8-28:10: @4[4]: _20 = ()
103-
28:5-28:11: @4[5]: _0 = Result::&lt;(), u8&gt;::Ok(move _20)
103+
28:5-28:11: @4[5]: _0 = std::result::Result::&lt;(), u8&gt;::Ok(move _20)
104104
29:2-29:2: @4.Return: return">}<span class="annotation">⦉@4</span></span></span></span></div>
105105
</body>
106106
</html>

src/test/run-make-fulldeps/coverage-spanview/expected_mir_dump.assert/assert.main.-------.InstrumentCoverage.0.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@
9393
17:9-17:23: @14[0]: _1 = move (_13.0: i32)"><span class="annotation">@13,14⦊</span>countdown -= 1<span class="annotation">⦉@13,14</span></span></span><span class="code" style="--layer: 0">;</span></span>
9494
<span class="line"><span class="code" style="--layer: 0"> }</span></span>
9595
<span class="line"><span class="code" style="--layer: 0"> </span><span><span class="code even" style="--layer: 1" title="19:8-19:10: @4[4]: _15 = ()
96-
19:5-19:11: @4[5]: _0 = Result::&lt;(), u8&gt;::Ok(move _15)
96+
19:5-19:11: @4[5]: _0 = std::result::Result::&lt;(), u8&gt;::Ok(move _15)
9797
20:2-20:2: @4.Return: return"><span class="annotation">@4⦊</span>Ok(())</span></span>
9898
<span class="line"><span class="code even" style="--layer: 1" title="19:8-19:10: @4[4]: _15 = ()
99-
19:5-19:11: @4[5]: _0 = Result::&lt;(), u8&gt;::Ok(move _15)
99+
19:5-19:11: @4[5]: _0 = std::result::Result::&lt;(), u8&gt;::Ok(move _15)
100100
20:2-20:2: @4.Return: return">}<span class="annotation">⦉@4</span></span></span></span></div>
101101
</body>
102102
</html>

src/test/run-make-fulldeps/coverage-spanview/expected_mir_dump.async/async.executor-block_on-VTABLE-{closure#0}.-------.InstrumentCoverage.0.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
17:38-17:74: @1[5]: FakeRead(ForMatchedPlace, _13)
7474
17:38-17:74: @1[7]: _25 = (_13.0: &amp;std::fmt::Arguments)
7575
17:38-17:74: @1[10]: _27 = &amp;(*_25)
76-
17:38-17:74: @1[12]: _28 = &lt;Arguments as std::fmt::Display&gt;::fmt as for&lt;&#39;r, &#39;s, &#39;t0&gt; fn(&amp;&#39;r std::fmt::Arguments, &amp;&#39;s mut std::fmt::Formatter&lt;&#39;t0&gt;) -&gt; Result&lt;(), std::fmt::Error&gt; (Pointer(ReifyFnPointer))
76+
17:38-17:74: @1[12]: _28 = &lt;Arguments as std::fmt::Display&gt;::fmt as for&lt;&#39;r, &#39;s, &#39;t0&gt; fn(&amp;&#39;r std::fmt::Arguments, &amp;&#39;s mut std::fmt::Formatter&lt;&#39;t0&gt;) -&gt; std::result::Result&lt;(), std::fmt::Error&gt; (Pointer(ReifyFnPointer))
7777
17:38-17:74: @1.Call: _26 = ArgumentV1::new::&lt;Arguments&gt;(move _27, move _28) -&gt; [return: bb2, unwind: bb4]
7878
17:38-17:74: @2[2]: _12 = [move _26]
7979
17:38-17:74: @2[5]: _11 = &amp;_12

src/test/run-make-fulldeps/coverage-spanview/expected_mir_dump.async/async.executor-block_on-VTABLE-{closure#1}.-------.InstrumentCoverage.0.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
17:38-17:74: @1[5]: FakeRead(ForMatchedPlace, _13)
7474
17:38-17:74: @1[7]: _25 = (_13.0: &amp;std::fmt::Arguments)
7575
17:38-17:74: @1[10]: _27 = &amp;(*_25)
76-
17:38-17:74: @1[12]: _28 = &lt;Arguments as std::fmt::Display&gt;::fmt as for&lt;&#39;r, &#39;s, &#39;t0&gt; fn(&amp;&#39;r std::fmt::Arguments, &amp;&#39;s mut std::fmt::Formatter&lt;&#39;t0&gt;) -&gt; Result&lt;(), std::fmt::Error&gt; (Pointer(ReifyFnPointer))
76+
17:38-17:74: @1[12]: _28 = &lt;Arguments as std::fmt::Display&gt;::fmt as for&lt;&#39;r, &#39;s, &#39;t0&gt; fn(&amp;&#39;r std::fmt::Arguments, &amp;&#39;s mut std::fmt::Formatter&lt;&#39;t0&gt;) -&gt; std::result::Result&lt;(), std::fmt::Error&gt; (Pointer(ReifyFnPointer))
7777
17:38-17:74: @1.Call: _26 = ArgumentV1::new::&lt;Arguments&gt;(move _27, move _28) -&gt; [return: bb2, unwind: bb4]
7878
17:38-17:74: @2[2]: _12 = [move _26]
7979
17:38-17:74: @2[5]: _11 = &amp;_12

src/test/run-make-fulldeps/coverage-spanview/expected_mir_dump.async/async.executor-block_on-VTABLE-{closure#2}.-------.InstrumentCoverage.0.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
17:38-17:74: @1[5]: FakeRead(ForMatchedPlace, _13)
7474
17:38-17:74: @1[7]: _25 = (_13.0: &amp;std::fmt::Arguments)
7575
17:38-17:74: @1[10]: _27 = &amp;(*_25)
76-
17:38-17:74: @1[12]: _28 = &lt;Arguments as std::fmt::Display&gt;::fmt as for&lt;&#39;r, &#39;s, &#39;t0&gt; fn(&amp;&#39;r std::fmt::Arguments, &amp;&#39;s mut std::fmt::Formatter&lt;&#39;t0&gt;) -&gt; Result&lt;(), std::fmt::Error&gt; (Pointer(ReifyFnPointer))
76+
17:38-17:74: @1[12]: _28 = &lt;Arguments as std::fmt::Display&gt;::fmt as for&lt;&#39;r, &#39;s, &#39;t0&gt; fn(&amp;&#39;r std::fmt::Arguments, &amp;&#39;s mut std::fmt::Formatter&lt;&#39;t0&gt;) -&gt; std::result::Result&lt;(), std::fmt::Error&gt; (Pointer(ReifyFnPointer))
7777
17:38-17:74: @1.Call: _26 = ArgumentV1::new::&lt;Arguments&gt;(move _27, move _28) -&gt; [return: bb2, unwind: bb4]
7878
17:38-17:74: @2[2]: _12 = [move _26]
7979
17:38-17:74: @2[5]: _11 = &amp;_12

0 commit comments

Comments
 (0)