blob: 99a7df4a670536a4688347c1330afd73cf349473 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>generics.{impl#1}-drop - Coverage Spans</title>
<style>
.line {
counter-increment: line;
}
.line:before {
content: counter(line) ": ";
font-family: Menlo, Monaco, monospace;
font-style: italic;
width: 3.8em;
display: inline-block;
text-align: right;
filter: opacity(50%);
-webkit-user-select: none;
}
.code {
color: #dddddd;
background-color: #222222;
font-family: Menlo, Monaco, monospace;
line-height: 1.4em;
border-bottom: 2px solid #222222;
white-space: pre;
display: inline-block;
}
.odd {
background-color: #55bbff;
color: #223311;
}
.even {
background-color: #ee7756;
color: #551133;
}
.code {
--index: calc(var(--layer) - 1);
padding-top: calc(var(--index) * 0.15em);
filter:
hue-rotate(calc(var(--index) * 25deg))
saturate(calc(100% - (var(--index) * 2%)))
brightness(calc(100% - (var(--index) * 1.5%)));
}
.annotation {
color: #4444ff;
font-family: monospace;
font-style: italic;
display: none;
-webkit-user-select: none;
}
body:active .annotation {
/* requires holding mouse down anywhere on the page */
display: inline-block;
}
span:hover .annotation {
/* requires hover over a span ONLY on its first line */
display: inline-block;
}
</style>
</head>
<body>
<div class="code" style="counter-reset: line 16"><span class="line"> <span class="code" style="--layer: 0">fn drop(&amp;mut self) </span><span><span class="code even" style="--layer: 1" title="18:18-18:36: @0[6]: _19 = const &lt;Firework&lt;T&gt; as Drop&gt;::drop::promoted[0]
18:18-18:36: @0[7]: _7 = &amp;(*_19)
18:18-18:36: @0[8]: _6 = &amp;(*_7)
18:18-18:36: @0[9]: _5 = move _6 as &amp;[&amp;str] (Pointer(Unsize))
18:38-18:51: @0[17]: _14 = &amp;((*_1).0: T)
18:9-18:53: @0[18]: _13 = (move _14,)
18:9-18:53: @0[20]: FakeRead(ForMatchedPlace, _13)
18:9-18:53: @0[22]: _15 = (_13.0: &amp;T)
18:9-18:53: @0[25]: _17 = &amp;(*_15)
18:9-18:53: @0[27]: _18 = &lt;T as std::fmt::Display&gt;::fmt as for&lt;&#39;r, &#39;s, &#39;t0&gt; fn(&amp;&#39;r T, &amp;&#39;s mut std::fmt::Formatter&lt;&#39;t0&gt;) -&gt; std::result::Result&lt;(), std::fmt::Error&gt; (Pointer(ReifyFnPointer))
18:9-18:53: @0.Call: _16 = ArgumentV1::new::&lt;T&gt;(move _17, move _18) -&gt; [return: bb1, unwind: bb4]
18:9-18:53: @1[2]: _12 = [move _16]
18:9-18:53: @1[5]: _11 = &amp;_12
18:9-18:53: @1[6]: _10 = &amp;(*_11)
18:9-18:53: @1[7]: _9 = move _10 as &amp;[std::fmt::ArgumentV1] (Pointer(Unsize))
18:9-18:53: @1.Call: _4 = Arguments::new_v1(move _5, move _9) -&gt; [return: bb2, unwind: bb4]
18:9-18:53: @2.Call: _3 = _print(move _4) -&gt; [return: bb3, unwind: bb4]
18:9-18:53: @3[6]: _2 = const ()
17:24-19:6: @3[8]: _0 = const ()
19:6-19:6: @3.Return: return"><span class="annotation">@0,1,2,3⦊</span>{</span></span>
<span class="line"><span class="code even" style="--layer: 1" title="18:18-18:36: @0[6]: _19 = const &lt;Firework&lt;T&gt; as Drop&gt;::drop::promoted[0]
18:18-18:36: @0[7]: _7 = &amp;(*_19)
18:18-18:36: @0[8]: _6 = &amp;(*_7)
18:18-18:36: @0[9]: _5 = move _6 as &amp;[&amp;str] (Pointer(Unsize))
18:38-18:51: @0[17]: _14 = &amp;((*_1).0: T)
18:9-18:53: @0[18]: _13 = (move _14,)
18:9-18:53: @0[20]: FakeRead(ForMatchedPlace, _13)
18:9-18:53: @0[22]: _15 = (_13.0: &amp;T)
18:9-18:53: @0[25]: _17 = &amp;(*_15)
18:9-18:53: @0[27]: _18 = &lt;T as std::fmt::Display&gt;::fmt as for&lt;&#39;r, &#39;s, &#39;t0&gt; fn(&amp;&#39;r T, &amp;&#39;s mut std::fmt::Formatter&lt;&#39;t0&gt;) -&gt; std::result::Result&lt;(), std::fmt::Error&gt; (Pointer(ReifyFnPointer))
18:9-18:53: @0.Call: _16 = ArgumentV1::new::&lt;T&gt;(move _17, move _18) -&gt; [return: bb1, unwind: bb4]
18:9-18:53: @1[2]: _12 = [move _16]
18:9-18:53: @1[5]: _11 = &amp;_12
18:9-18:53: @1[6]: _10 = &amp;(*_11)
18:9-18:53: @1[7]: _9 = move _10 as &amp;[std::fmt::ArgumentV1] (Pointer(Unsize))
18:9-18:53: @1.Call: _4 = Arguments::new_v1(move _5, move _9) -&gt; [return: bb2, unwind: bb4]
18:9-18:53: @2.Call: _3 = _print(move _4) -&gt; [return: bb3, unwind: bb4]
18:9-18:53: @3[6]: _2 = const ()
17:24-19:6: @3[8]: _0 = const ()
19:6-19:6: @3.Return: return"> println!("BOOM times {}!!!", self.strength);</span></span>
<span class="line"><span class="code even" style="--layer: 1" title="18:18-18:36: @0[6]: _19 = const &lt;Firework&lt;T&gt; as Drop&gt;::drop::promoted[0]
18:18-18:36: @0[7]: _7 = &amp;(*_19)
18:18-18:36: @0[8]: _6 = &amp;(*_7)
18:18-18:36: @0[9]: _5 = move _6 as &amp;[&amp;str] (Pointer(Unsize))
18:38-18:51: @0[17]: _14 = &amp;((*_1).0: T)
18:9-18:53: @0[18]: _13 = (move _14,)
18:9-18:53: @0[20]: FakeRead(ForMatchedPlace, _13)
18:9-18:53: @0[22]: _15 = (_13.0: &amp;T)
18:9-18:53: @0[25]: _17 = &amp;(*_15)
18:9-18:53: @0[27]: _18 = &lt;T as std::fmt::Display&gt;::fmt as for&lt;&#39;r, &#39;s, &#39;t0&gt; fn(&amp;&#39;r T, &amp;&#39;s mut std::fmt::Formatter&lt;&#39;t0&gt;) -&gt; std::result::Result&lt;(), std::fmt::Error&gt; (Pointer(ReifyFnPointer))
18:9-18:53: @0.Call: _16 = ArgumentV1::new::&lt;T&gt;(move _17, move _18) -&gt; [return: bb1, unwind: bb4]
18:9-18:53: @1[2]: _12 = [move _16]
18:9-18:53: @1[5]: _11 = &amp;_12
18:9-18:53: @1[6]: _10 = &amp;(*_11)
18:9-18:53: @1[7]: _9 = move _10 as &amp;[std::fmt::ArgumentV1] (Pointer(Unsize))
18:9-18:53: @1.Call: _4 = Arguments::new_v1(move _5, move _9) -&gt; [return: bb2, unwind: bb4]
18:9-18:53: @2.Call: _3 = _print(move _4) -&gt; [return: bb3, unwind: bb4]
18:9-18:53: @3[6]: _2 = const ()
17:24-19:6: @3[8]: _0 = const ()
19:6-19:6: @3.Return: return"> }<span class="annotation">⦉@0,1,2,3</span></span></span></span></div>
</body>
</html>