about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-02-11 16:46:08 +0000
committerbors <bors@rust-lang.org>2021-02-11 16:46:08 +0000
commite9920ef7749d11fc71cc32ca4ba055bcfeaab945 (patch)
treebec30409fb491e4c3bf37f4a092dc3c43d40ec06 /src/test
parent26e5bcd22025a0d949b76766af76e92ed4434199 (diff)
parent1cf95059ebb6e01d4a914fbf84c9d56425265637 (diff)
downloadrust-e9920ef7749d11fc71cc32ca4ba055bcfeaab945.tar.gz
rust-e9920ef7749d11fc71cc32ca4ba055bcfeaab945.zip
Auto merge of #81760 - tmiasko:debug-borrow, r=pnkfelix
Borrow builder only once in debug derive
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-make-fulldeps/coverage-spanview/expected_mir_dump.partial_eq/partial_eq.{impl#7}-fmt.-------.InstrumentCoverage.0.html67
1 files changed, 32 insertions, 35 deletions
diff --git a/src/test/run-make-fulldeps/coverage-spanview/expected_mir_dump.partial_eq/partial_eq.{impl#7}-fmt.-------.InstrumentCoverage.0.html b/src/test/run-make-fulldeps/coverage-spanview/expected_mir_dump.partial_eq/partial_eq.{impl#7}-fmt.-------.InstrumentCoverage.0.html
index 5b9e070864b..930492f2484 100644
--- a/src/test/run-make-fulldeps/coverage-spanview/expected_mir_dump.partial_eq/partial_eq.{impl#7}-fmt.-------.InstrumentCoverage.0.html
+++ b/src/test/run-make-fulldeps/coverage-spanview/expected_mir_dump.partial_eq/partial_eq.{impl#7}-fmt.-------.InstrumentCoverage.0.html
@@ -73,41 +73,38 @@ For revisions in Pull Requests (PR):
 4:17-4:22: @0[2]: _3 = &amp;((*_1).0: usize)
 4:17-4:22: @0[4]: _4 = &amp;((*_1).1: usize)
 4:17-4:22: @0[6]: _5 = &amp;((*_1).2: usize)
-4:17-4:22: @0[9]: _7 = &amp;mut (*_2)
-4:17-4:22: @0[12]: _9 = const &quot;Version&quot;
-4:17-4:22: @0[13]: _8 = &amp;(*_9)
-4:17-4:22: @0.Call: _6 = std::fmt::Formatter::debug_struct(move _7, move _8) -&gt; [return: bb1, unwind: bb6]
-4:17-4:22: @1[2]: FakeRead(ForLet, _6)
-4:17-4:22: @1[7]: _12 = &amp;mut _6
-4:17-4:22: @1[8]: _11 = &amp;mut (*_12)
-4:17-4:22: @1[11]: _14 = const &quot;major&quot;
-4:17-4:22: @1[12]: _13 = &amp;(*_14)
-4:17-4:22: @1[17]: _18 = &amp;(*_3)
-4:17-4:22: @1[18]: _17 = &amp;_18
-4:17-4:22: @1[19]: _16 = &amp;(*_17)
-4:17-4:22: @1[20]: _15 = move _16 as &amp;dyn std::fmt::Debug (Pointer(Unsize))
-4:17-4:22: @1.Call: _10 = std::fmt::DebugStruct::field(move _11, move _13, move _15) -&gt; [return: bb2, unwind: bb6]
-4:17-4:22: @2[11]: _21 = &amp;mut _6
-4:17-4:22: @2[12]: _20 = &amp;mut (*_21)
-4:17-4:22: @2[15]: _23 = const &quot;minor&quot;
-4:17-4:22: @2[16]: _22 = &amp;(*_23)
-4:17-4:22: @2[21]: _27 = &amp;(*_4)
-4:17-4:22: @2[22]: _26 = &amp;_27
-4:17-4:22: @2[23]: _25 = &amp;(*_26)
-4:17-4:22: @2[24]: _24 = move _25 as &amp;dyn std::fmt::Debug (Pointer(Unsize))
-4:17-4:22: @2.Call: _19 = std::fmt::DebugStruct::field(move _20, move _22, move _24) -&gt; [return: bb3, unwind: bb6]
-4:17-4:22: @3[11]: _30 = &amp;mut _6
-4:17-4:22: @3[12]: _29 = &amp;mut (*_30)
-4:17-4:22: @3[15]: _32 = const &quot;patch&quot;
-4:17-4:22: @3[16]: _31 = &amp;(*_32)
-4:17-4:22: @3[21]: _36 = &amp;(*_5)
-4:17-4:22: @3[22]: _35 = &amp;_36
-4:17-4:22: @3[23]: _34 = &amp;(*_35)
-4:17-4:22: @3[24]: _33 = move _34 as &amp;dyn std::fmt::Debug (Pointer(Unsize))
-4:17-4:22: @3.Call: _28 = std::fmt::DebugStruct::field(move _29, move _31, move _33) -&gt; [return: bb4, unwind: bb6]
-4:17-4:22: @4[10]: _38 = &amp;mut _6
-4:17-4:22: @4[11]: _37 = &amp;mut (*_38)
-4:17-4:22: @4.Call: _0 = std::fmt::DebugStruct::finish(move _37) -&gt; [return: bb5, unwind: bb6]
+4:17-4:22: @0[10]: _8 = &amp;mut (*_2)
+4:17-4:22: @0[13]: _10 = const &quot;Version&quot;
+4:17-4:22: @0[14]: _9 = &amp;(*_10)
+4:17-4:22: @0.Call: _7 = std::fmt::Formatter::debug_struct(move _8, move _9) -&gt; [return: bb1, unwind: bb6]
+4:17-4:22: @1[2]: _6 = &amp;mut _7
+4:17-4:22: @1[3]: FakeRead(ForLet, _6)
+4:17-4:22: @1[7]: _12 = &amp;mut (*_6)
+4:17-4:22: @1[10]: _14 = const &quot;major&quot;
+4:17-4:22: @1[11]: _13 = &amp;(*_14)
+4:17-4:22: @1[16]: _18 = &amp;(*_3)
+4:17-4:22: @1[17]: _17 = &amp;_18
+4:17-4:22: @1[18]: _16 = &amp;(*_17)
+4:17-4:22: @1[19]: _15 = move _16 as &amp;dyn std::fmt::Debug (Pointer(Unsize))
+4:17-4:22: @1.Call: _11 = std::fmt::DebugStruct::field(move _12, move _13, move _15) -&gt; [return: bb2, unwind: bb6]
+4:17-4:22: @2[9]: _20 = &amp;mut (*_6)
+4:17-4:22: @2[12]: _22 = const &quot;minor&quot;
+4:17-4:22: @2[13]: _21 = &amp;(*_22)
+4:17-4:22: @2[18]: _26 = &amp;(*_4)
+4:17-4:22: @2[19]: _25 = &amp;_26
+4:17-4:22: @2[20]: _24 = &amp;(*_25)
+4:17-4:22: @2[21]: _23 = move _24 as &amp;dyn std::fmt::Debug (Pointer(Unsize))
+4:17-4:22: @2.Call: _19 = std::fmt::DebugStruct::field(move _20, move _21, move _23) -&gt; [return: bb3, unwind: bb6]
+4:17-4:22: @3[9]: _28 = &amp;mut (*_6)
+4:17-4:22: @3[12]: _30 = const &quot;patch&quot;
+4:17-4:22: @3[13]: _29 = &amp;(*_30)
+4:17-4:22: @3[18]: _34 = &amp;(*_5)
+4:17-4:22: @3[19]: _33 = &amp;_34
+4:17-4:22: @3[20]: _32 = &amp;(*_33)
+4:17-4:22: @3[21]: _31 = move _32 as &amp;dyn std::fmt::Debug (Pointer(Unsize))
+4:17-4:22: @3.Call: _27 = std::fmt::DebugStruct::field(move _28, move _29, move _31) -&gt; [return: bb4, unwind: bb6]
+4:17-4:22: @4[8]: _35 = &amp;mut (*_6)
+4:17-4:22: @4.Call: _0 = std::fmt::DebugStruct::finish(move _35) -&gt; [return: bb5, unwind: bb6]
 4:22-4:22: @5.Return: return"><span class="annotation">@0,1,2,3,4,5⦊</span>Debug<span class="annotation">⦉@0,1,2,3,4,5</span></span></span></span></div>
 </body>
 </html>