This repository has been archived by the owner on May 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== stdout === digraph __crate__ { subgraph cluster_Mir_0_4 { graph [fontname="Courier, monospace"]; node [fontname="Courier, monospace"]; edge [fontname="Courier, monospace"]; label=<fn main() -> ()<br align="left"/>let mut _1: &[u8];<br align="left"/>let _2: &[u8];<br align="left"/>let mut _3: &[u8; 0];<br align="left"/>let mut _4: std::ops::RangeFull;<br align="left"/>let mut _5: usize;<br align="left"/>let mut _6: usize;<br align="left"/>let mut _7: bool;<br align="left"/>let _8: ();<br align="left"/>let mut _9: std::fmt::Arguments;<br align="left"/>let mut _10: &[&str];<br align="left"/>let mut _11: &[&str; 1];<br align="left"/>let _12: &[&str; 1];<br align="left"/>let mut _13: &[std::fmt::ArgumentV1];<br align="left"/>let mut _14: &[std::fmt::ArgumentV1; 0];<br align="left"/>let _15: &[std::fmt::ArgumentV1; 0];<br align="left"/>let _16: ();<br align="left"/>let mut _17: std::fmt::Arguments;<br align="left"/>let mut _18: &[&str];<br align="left"/>let mut _19: &[&str; 1];<br align="left"/>let _20: &[&str; 1];<br align="left"/>let mut _21: &[std::fmt::ArgumentV1];<br align="left"/>let mut _22: &[std::fmt::ArgumentV1; 0];<br align="left"/>let _23: &[std::fmt::ArgumentV1; 0];<br align="left"/>let mut _24: &[std::fmt::ArgumentV1; 0];<br align="left"/>let mut _25: &[&str; 1];<br align="left"/>let mut _26: &[std::fmt::ArgumentV1; 0];<br align="left"/>let mut _27: &[&str; 1];<br align="left"/>let mut _28: &[u8; 0];<br align="left"/>>; bb0__0_4 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">0</td></tr><tr><td align="left" balign="left">StorageLive(_1)<br/>StorageLive(_2)<br/>StorageLive(_3)<br/>_28 = const main::promoted[4]<br/>_3 = _28<br/>StorageLive(_4)<br/></td></tr><tr><td align="left">_2 = <[u8; 0] as Index<RangeFull>>::index(move _3, move _4)</td></tr></table>>]; bb1__0_4 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">1</td></tr><tr><td align="left" balign="left">StorageDead(_4)<br/>StorageDead(_3)<br/>_1 = _2<br/>_5 = Len((*_1))<br/>_6 = const 4_usize<br/>_7 = Eq(move _5, move _6)<br/></td></tr><tr><td align="left">switchInt(move _7)</td></tr></table>>]; bb2__0_4 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">2</td></tr><tr><td align="left">switchInt((*_1)[0 of 4])</td></tr></table>>]; bb3__0_4 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">3</td></tr><tr><td align="left">switchInt((*_1)[1 of 4])</td></tr></table>>]; bb4__0_4 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">4</td></tr><tr><td align="left">switchInt((*_1)[2 of 4])</td></tr></table>>]; bb5__0_4 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">5</td></tr><tr><td align="left">switchInt((*_1)[3 of 4])</td></tr></table>>]; bb6__0_4 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">6</td></tr><tr><td align="left" balign="left">StorageLive(_16)<br/>StorageLive(_17)<br/>StorageLive(_18)<br/>StorageLive(_19)<br/>StorageLive(_20)<br/>_25 = const main::promoted[1]<br/>_20 = _25<br/>_19 = _20<br/>_18 = move _19 as &[&str] (Pointer(Unsize))<br/>StorageDead(_19)<br/>StorageLive(_21)<br/>StorageLive(_22)<br/>StorageLive(_23)<br/>_24 = const main::promoted[0]<br/>_23 = _24<br/>_22 = _23<br/>_21 = move _22 as &[std::fmt::ArgumentV1] (Pointer(Unsize))<br/>StorageDead(_22)<br/></td></tr><tr><td align="left">_17 = Arguments::new_v1(move _18, move _21)</td></tr></table>>]; bb7__0_4 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">7</td></tr><tr><td align="left" balign="left">StorageLive(_8)<br/>StorageLive(_9)<br/>StorageLive(_10)<br/>StorageLive(_11)<br/>StorageLive(_12)<br/>_27 = const main::promoted[3]<br/>_12 = _27<br/>_11 = _12<br/>_10 = move _11 as &[&str] (Pointer(Unsize))<br/>StorageDead(_11)<br/>StorageLive(_13)<br/>StorageLive(_14)<br/>StorageLive(_15)<br/>_26 = const main::promoted[2]<br/>_15 = _26<br/>_14 = _15<br/>_13 = move _14 as &[std::fmt::ArgumentV1] (Pointer(Unsize))<br/>StorageDead(_14)<br/></td></tr><tr><td align="left">_9 = Arguments::new_v1(move _10, move _13)</td></tr></table>>]; bb8__0_4 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">8</td></tr><tr><td align="left" balign="left">StorageDead(_13)<br/>StorageDead(_10)<br/></td></tr><tr><td align="left">_8 = _print(move _9)</td></tr></table>>]; bb9__0_4 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">9</td></tr><tr><td align="left" balign="left">StorageDead(_9)<br/>StorageDead(_15)<br/>StorageDead(_12)<br/>StorageDead(_8)<br/>_0 = const ()<br/></td></tr><tr><td align="left">goto</td></tr></table>>]; bb10__0_4 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">10</td></tr><tr><td align="left" balign="left">StorageDead(_21)<br/>StorageDead(_18)<br/></td></tr><tr><td align="left">_16 = _print(move _17)</td></tr></table>>]; bb11__0_4 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">11</td></tr><tr><td align="left" balign="left">StorageDead(_17)<br/>StorageDead(_23)<br/>StorageDead(_20)<br/>StorageDead(_16)<br/>_0 = const ()<br/></td></tr><tr><td align="left">goto</td></tr></table>>]; bb12__0_4 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">12</td></tr><tr><td align="left" balign="left">StorageDead(_2)<br/>StorageDead(_1)<br/></td></tr><tr><td align="left">return</td></tr></table>>]; bb0__0_4 -> bb1__0_4 [label="return"]; bb1__0_4 -> bb6__0_4 [label="false"]; bb1__0_4 -> bb2__0_4 [label="otherwise"]; bb2__0_4 -> bb3__0_4 [label="65_u8"]; bb2__0_4 -> bb6__0_4 [label="otherwise"]; bb3__0_4 -> bb4__0_4 [label="66_u8"]; bb3__0_4 -> bb6__0_4 [label="otherwise"]; bb4__0_4 -> bb5__0_4 [label="67_u8"]; bb4__0_4 -> bb6__0_4 [label="otherwise"]; bb5__0_4 -> bb7__0_4 [label="68_u8"]; bb5__0_4 -> bb6__0_4 [label="otherwise"]; bb6__0_4 -> bb10__0_4 [label="return"]; bb7__0_4 -> bb8__0_4 [label="return"]; bb8__0_4 -> bb9__0_4 [label="return"]; bb9__0_4 -> bb12__0_4 [label=""]; bb10__0_4 -> bb11__0_4 [label="return"]; bb11__0_4 -> bb12__0_4 [label=""]; } subgraph cluster_Mir_0_3 { graph [fontname="Courier, monospace"]; node [fontname="Courier, monospace"]; edge [fontname="Courier, monospace"]; label=<fn TAG() -> &[u8]<br align="left"/>let mut _1: &[u8; 4];<br align="left"/>let _2: &[u8; 4];<br align="left"/>>; bb0__0_3 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">0</td></tr><tr><td align="left" balign="left">StorageLive(_1)<br/>StorageLive(_2)<br/>_2 = const b"ABCD"<br/>_1 = &(*_2)<br/>_0 = move _1 as &[u8] (Pointer(Unsize))<br/>StorageDead(_2)<br/>StorageDead(_1)<br/></td></tr><tr><td align="left">return</td></tr></table>>]; } } === stderr === ==============
JohnTitor
approved these changes
Feb 24, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue: rust-lang/rust#82326