]> git.proxmox.com Git - rustc.git/blame - src/test/run-make-fulldeps/coverage-spanview/expected_mir_dump.loops_branches/loops_branches.main.-------.InstrumentCoverage.0.html
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / run-make-fulldeps / coverage-spanview / expected_mir_dump.loops_branches / loops_branches.main.-------.InstrumentCoverage.0.html
CommitLineData
29967ef6
XL
1<!DOCTYPE html>
2<!--
3
4Preview this file as rendered HTML from the github source at:
fc512014 5https://htmlpreview.github.io/?https://github.com/rust-lang/rust/blob/master/src/test/run-make-fulldeps/coverage-spanview/expected_mir_dump.loops_branches/loops_branches.main.-------.InstrumentCoverage.0.html
29967ef6
XL
6
7For revisions in Pull Requests (PR):
8 * Replace "rust-lang" with the github PR author
9 * Replace "master" with the PR branch name
10
11-->
12<html>
13<head>
14<title>loops_branches.main - Coverage Spans</title>
15<style>
16 .line {
17 counter-increment: line;
18 }
19 .line:before {
20 content: counter(line) ": ";
21 font-family: Menlo, Monaco, monospace;
22 font-style: italic;
23 width: 3.8em;
24 display: inline-block;
25 text-align: right;
26 filter: opacity(50%);
27 -webkit-user-select: none;
28 }
29 .code {
30 color: #dddddd;
31 background-color: #222222;
32 font-family: Menlo, Monaco, monospace;
33 line-height: 1.4em;
34 border-bottom: 2px solid #222222;
35 white-space: pre;
36 display: inline-block;
37 }
38 .odd {
39 background-color: #55bbff;
40 color: #223311;
41 }
42 .even {
43 background-color: #ee7756;
44 color: #551133;
45 }
46 .code {
47 --index: calc(var(--layer) - 1);
48 padding-top: calc(var(--index) * 0.15em);
49 filter:
50 hue-rotate(calc(var(--index) * 25deg))
51 saturate(calc(100% - (var(--index) * 2%)))
52 brightness(calc(100% - (var(--index) * 1.5%)));
53 }
54 .annotation {
55 color: #4444ff;
56 font-family: monospace;
57 font-style: italic;
58 display: none;
59 -webkit-user-select: none;
60 }
61 body:active .annotation {
62 /* requires holding mouse down anywhere on the page */
63 display: inline-block;
64 }
65 span:hover .annotation {
66 /* requires hover over a span ONLY on its first line */
67 display: inline-block;
68 }
69</style>
70</head>
71<body>
fc512014 72<div class="code" style="counter-reset: line 21"><span class="line"><span><span class="code even" style="--layer: 1" title="23:22-23:31: @0[1]: _1 = DebugTest
29967ef6
XL
7323:9-23:19: @0[2]: FakeRead(ForLet, _1)
7424:14-24:20: @0[9]: _19 = const main::promoted[0]
7524:14-24:20: @0[10]: _7 = &amp;(*_19)
7624:14-24:20: @0[11]: _6 = &amp;(*_7)
7724:14-24:20: @0[12]: _5 = move _6 as &amp;[&amp;str] (Pointer(Unsize))
7824:22-24:32: @0[20]: _14 = &amp;_1
7924:5-24:34: @0[21]: _13 = (move _14,)
8024:5-24:34: @0[23]: FakeRead(ForMatchedPlace, _13)
8124:5-24:34: @0[25]: _15 = (_13.0: &amp;DebugTest)
8224:5-24:34: @0[28]: _17 = &amp;(*_15)
6a06907d
XL
8324:5-24:34: @0[30]: _18 = &lt;DebugTest as std::fmt::Debug&gt;::fmt as for&lt;&#39;r, &#39;s, &#39;t0&gt; fn(&amp;&#39;r DebugTest, &amp;&#39;s mut std::fmt::Formatter&lt;&#39;t0&gt;) -&gt; std::result::Result&lt;(), std::fmt::Error&gt; (Pointer(ReifyFnPointer))
8424:5-24:34: @0.Call: _16 = std::fmt::ArgumentV1::new::&lt;DebugTest&gt;(move _17, move _18) -&gt; [return: bb1, unwind: bb4]
29967ef6
XL
8524:5-24:34: @1[2]: _12 = [move _16]
8624:5-24:34: @1[5]: _11 = &amp;_12
8724:5-24:34: @1[6]: _10 = &amp;(*_11)
8824:5-24:34: @1[7]: _9 = move _10 as &amp;[std::fmt::ArgumentV1] (Pointer(Unsize))
6a06907d
XL
8924:5-24:34: @1.Call: _4 = std::fmt::Arguments::new_v1(move _5, move _9) -&gt; [return: bb2, unwind: bb4]
9024:5-24:34: @2.Call: _3 = std::io::_print(move _4) -&gt; [return: bb3, unwind: bb4]
29967ef6
XL
9124:5-24:34: @3[6]: _2 = const ()
9222:11-25:2: @3[8]: _0 = const ()
fc512014 9325:2-25:2: @3.Return: return"><span class="annotation">@0,1,2,3⦊</span>fn main() {</span></span>
29967ef6
XL
94<span class="line"><span class="code even" style="--layer: 1" title="23:22-23:31: @0[1]: _1 = DebugTest
9523:9-23:19: @0[2]: FakeRead(ForLet, _1)
9624:14-24:20: @0[9]: _19 = const main::promoted[0]
9724:14-24:20: @0[10]: _7 = &amp;(*_19)
9824:14-24:20: @0[11]: _6 = &amp;(*_7)
9924:14-24:20: @0[12]: _5 = move _6 as &amp;[&amp;str] (Pointer(Unsize))
10024:22-24:32: @0[20]: _14 = &amp;_1
10124:5-24:34: @0[21]: _13 = (move _14,)
10224:5-24:34: @0[23]: FakeRead(ForMatchedPlace, _13)
10324:5-24:34: @0[25]: _15 = (_13.0: &amp;DebugTest)
10424:5-24:34: @0[28]: _17 = &amp;(*_15)
6a06907d
XL
10524:5-24:34: @0[30]: _18 = &lt;DebugTest as std::fmt::Debug&gt;::fmt as for&lt;&#39;r, &#39;s, &#39;t0&gt; fn(&amp;&#39;r DebugTest, &amp;&#39;s mut std::fmt::Formatter&lt;&#39;t0&gt;) -&gt; std::result::Result&lt;(), std::fmt::Error&gt; (Pointer(ReifyFnPointer))
10624:5-24:34: @0.Call: _16 = std::fmt::ArgumentV1::new::&lt;DebugTest&gt;(move _17, move _18) -&gt; [return: bb1, unwind: bb4]
29967ef6
XL
10724:5-24:34: @1[2]: _12 = [move _16]
10824:5-24:34: @1[5]: _11 = &amp;_12
10924:5-24:34: @1[6]: _10 = &amp;(*_11)
11024:5-24:34: @1[7]: _9 = move _10 as &amp;[std::fmt::ArgumentV1] (Pointer(Unsize))
6a06907d
XL
11124:5-24:34: @1.Call: _4 = std::fmt::Arguments::new_v1(move _5, move _9) -&gt; [return: bb2, unwind: bb4]
11224:5-24:34: @2.Call: _3 = std::io::_print(move _4) -&gt; [return: bb3, unwind: bb4]
29967ef6
XL
11324:5-24:34: @3[6]: _2 = const ()
11422:11-25:2: @3[8]: _0 = const ()
11525:2-25:2: @3.Return: return"> let debug_test = DebugTest;</span></span>
116<span class="line"><span class="code even" style="--layer: 1" title="23:22-23:31: @0[1]: _1 = DebugTest
11723:9-23:19: @0[2]: FakeRead(ForLet, _1)
11824:14-24:20: @0[9]: _19 = const main::promoted[0]
11924:14-24:20: @0[10]: _7 = &amp;(*_19)
12024:14-24:20: @0[11]: _6 = &amp;(*_7)
12124:14-24:20: @0[12]: _5 = move _6 as &amp;[&amp;str] (Pointer(Unsize))
12224:22-24:32: @0[20]: _14 = &amp;_1
12324:5-24:34: @0[21]: _13 = (move _14,)
12424:5-24:34: @0[23]: FakeRead(ForMatchedPlace, _13)
12524:5-24:34: @0[25]: _15 = (_13.0: &amp;DebugTest)
12624:5-24:34: @0[28]: _17 = &amp;(*_15)
6a06907d
XL
12724:5-24:34: @0[30]: _18 = &lt;DebugTest as std::fmt::Debug&gt;::fmt as for&lt;&#39;r, &#39;s, &#39;t0&gt; fn(&amp;&#39;r DebugTest, &amp;&#39;s mut std::fmt::Formatter&lt;&#39;t0&gt;) -&gt; std::result::Result&lt;(), std::fmt::Error&gt; (Pointer(ReifyFnPointer))
12824:5-24:34: @0.Call: _16 = std::fmt::ArgumentV1::new::&lt;DebugTest&gt;(move _17, move _18) -&gt; [return: bb1, unwind: bb4]
29967ef6
XL
12924:5-24:34: @1[2]: _12 = [move _16]
13024:5-24:34: @1[5]: _11 = &amp;_12
13124:5-24:34: @1[6]: _10 = &amp;(*_11)
13224:5-24:34: @1[7]: _9 = move _10 as &amp;[std::fmt::ArgumentV1] (Pointer(Unsize))
6a06907d
XL
13324:5-24:34: @1.Call: _4 = std::fmt::Arguments::new_v1(move _5, move _9) -&gt; [return: bb2, unwind: bb4]
13424:5-24:34: @2.Call: _3 = std::io::_print(move _4) -&gt; [return: bb3, unwind: bb4]
29967ef6
XL
13524:5-24:34: @3[6]: _2 = const ()
13622:11-25:2: @3[8]: _0 = const ()
13725:2-25:2: @3.Return: return"> println!("{:?}", debug_test);</span></span>
138<span class="line"><span class="code even" style="--layer: 1" title="23:22-23:31: @0[1]: _1 = DebugTest
13923:9-23:19: @0[2]: FakeRead(ForLet, _1)
14024:14-24:20: @0[9]: _19 = const main::promoted[0]
14124:14-24:20: @0[10]: _7 = &amp;(*_19)
14224:14-24:20: @0[11]: _6 = &amp;(*_7)
14324:14-24:20: @0[12]: _5 = move _6 as &amp;[&amp;str] (Pointer(Unsize))
14424:22-24:32: @0[20]: _14 = &amp;_1
14524:5-24:34: @0[21]: _13 = (move _14,)
14624:5-24:34: @0[23]: FakeRead(ForMatchedPlace, _13)
14724:5-24:34: @0[25]: _15 = (_13.0: &amp;DebugTest)
14824:5-24:34: @0[28]: _17 = &amp;(*_15)
6a06907d
XL
14924:5-24:34: @0[30]: _18 = &lt;DebugTest as std::fmt::Debug&gt;::fmt as for&lt;&#39;r, &#39;s, &#39;t0&gt; fn(&amp;&#39;r DebugTest, &amp;&#39;s mut std::fmt::Formatter&lt;&#39;t0&gt;) -&gt; std::result::Result&lt;(), std::fmt::Error&gt; (Pointer(ReifyFnPointer))
15024:5-24:34: @0.Call: _16 = std::fmt::ArgumentV1::new::&lt;DebugTest&gt;(move _17, move _18) -&gt; [return: bb1, unwind: bb4]
29967ef6
XL
15124:5-24:34: @1[2]: _12 = [move _16]
15224:5-24:34: @1[5]: _11 = &amp;_12
15324:5-24:34: @1[6]: _10 = &amp;(*_11)
15424:5-24:34: @1[7]: _9 = move _10 as &amp;[std::fmt::ArgumentV1] (Pointer(Unsize))
6a06907d
XL
15524:5-24:34: @1.Call: _4 = std::fmt::Arguments::new_v1(move _5, move _9) -&gt; [return: bb2, unwind: bb4]
15624:5-24:34: @2.Call: _3 = std::io::_print(move _4) -&gt; [return: bb3, unwind: bb4]
29967ef6
XL
15724:5-24:34: @3[6]: _2 = const ()
15822:11-25:2: @3[8]: _0 = const ()
15925:2-25:2: @3.Return: return">}<span class="annotation">⦉@0,1,2,3</span></span></span></span></div>
160</body>
161</html>