|
17 | 17 | let mut _17: &std::boxed::Box<dyn std::fmt::Display>; |
18 | 18 | let mut _18: core::fmt::rt::Argument<'_>; |
19 | 19 | let mut _19: &u32; |
20 | | - let mut _20: core::fmt::rt::Template<'_>; |
21 | | - let mut _21: &[core::fmt::rt::Piece; 7]; |
22 | | - let _22: &[core::fmt::rt::Piece; 7]; |
23 | | - let mut _23: &[core::fmt::rt::Argument<'_>; 2]; |
24 | | - let _24: &[core::fmt::rt::Argument<'_>; 2]; |
25 | | - let mut _25: &std::boxed::Box<dyn std::fmt::Display>; |
26 | | - let mut _26: &u32; |
27 | | - let mut _27: bool; |
| 20 | + let mut _20: &[core::fmt::rt::Piece; 7]; |
| 21 | + let _21: &[core::fmt::rt::Piece; 7]; |
| 22 | + let mut _22: &[core::fmt::rt::Argument<'_>; 2]; |
| 23 | + let _23: &[core::fmt::rt::Argument<'_>; 2]; |
| 24 | + let mut _24: &std::boxed::Box<dyn std::fmt::Display>; |
| 25 | + let mut _25: &u32; |
| 26 | + let mut _26: bool; |
| 27 | + let mut _27: isize; |
28 | 28 | let mut _28: isize; |
29 | 29 | let mut _29: isize; |
30 | | - let mut _30: isize; |
31 | | -+ let _31: std::result::Result<std::boxed::Box<dyn std::fmt::Display>, <T as Err>::Err>; |
32 | | -+ let _32: u32; |
| 30 | ++ let _30: std::result::Result<std::boxed::Box<dyn std::fmt::Display>, <T as Err>::Err>; |
| 31 | ++ let _31: u32; |
33 | 32 | scope 1 { |
34 | 33 | - debug foo => _1; |
35 | | -+ debug ((foo: Foo<T>).0: std::result::Result<std::boxed::Box<dyn std::fmt::Display>, <T as Err>::Err>) => _31; |
36 | | -+ debug ((foo: Foo<T>).1: u32) => _32; |
| 34 | ++ debug ((foo: Foo<T>).0: std::result::Result<std::boxed::Box<dyn std::fmt::Display>, <T as Err>::Err>) => _30; |
| 35 | ++ debug ((foo: Foo<T>).1: u32) => _31; |
37 | 36 | let _5: std::result::Result<std::boxed::Box<dyn std::fmt::Display>, <T as Err>::Err>; |
38 | 37 | scope 2 { |
39 | 38 | debug x => _5; |
|
44 | 43 | debug x => _8; |
45 | 44 | let _8: std::boxed::Box<dyn std::fmt::Display>; |
46 | 45 | let _12: (&std::boxed::Box<dyn std::fmt::Display>, &u32); |
47 | | -+ let _33: &std::boxed::Box<dyn std::fmt::Display>; |
48 | | -+ let _34: &u32; |
| 46 | ++ let _32: &std::boxed::Box<dyn std::fmt::Display>; |
| 47 | ++ let _33: &u32; |
49 | 48 | scope 5 { |
50 | 49 | - debug args => _12; |
51 | | -+ debug ((args: (&Box<dyn std::fmt::Display>, &u32)).0: &std::boxed::Box<dyn std::fmt::Display>) => _33; |
52 | | -+ debug ((args: (&Box<dyn std::fmt::Display>, &u32)).1: &u32) => _34; |
| 50 | ++ debug ((args: (&Box<dyn std::fmt::Display>, &u32)).0: &std::boxed::Box<dyn std::fmt::Display>) => _32; |
| 51 | ++ debug ((args: (&Box<dyn std::fmt::Display>, &u32)).1: &u32) => _33; |
53 | 52 | let _15: [core::fmt::rt::Argument<'_>; 2]; |
54 | 53 | scope 6 { |
55 | 54 | debug args => _15; |
|
61 | 60 | } |
62 | 61 |
|
63 | 62 | bb0: { |
64 | | - _27 = const false; |
| 63 | + _26 = const false; |
65 | 64 | - StorageLive(_1); |
| 65 | ++ StorageLive(_30); |
66 | 66 | + StorageLive(_31); |
67 | | -+ StorageLive(_32); |
68 | 67 | + nop; |
69 | 68 | StorageLive(_2); |
70 | 69 | StorageLive(_3); |
|
78 | 77 | _2 = Result::<Box<dyn std::fmt::Display>, <T as Err>::Err>::Ok(move _3); |
79 | 78 | StorageDead(_3); |
80 | 79 | - _1 = Foo::<T> { x: move _2, y: const 7_u32 }; |
81 | | -+ _31 = move _2; |
82 | | -+ _32 = const 7_u32; |
| 80 | ++ _30 = move _2; |
| 81 | ++ _31 = const 7_u32; |
83 | 82 | + nop; |
84 | 83 | StorageDead(_2); |
85 | 84 | StorageLive(_5); |
86 | | - _27 = const true; |
| 85 | + _26 = const true; |
87 | 86 | - _5 = move (_1.0: std::result::Result<std::boxed::Box<dyn std::fmt::Display>, <T as Err>::Err>); |
88 | | -+ _5 = move _31; |
| 87 | ++ _5 = move _30; |
89 | 88 | StorageLive(_6); |
90 | 89 | - _6 = copy (_1.1: u32); |
91 | | -+ _6 = copy _32; |
| 90 | ++ _6 = copy _31; |
92 | 91 | _7 = discriminant(_5); |
93 | | - switchInt(move _7) -> [0: bb2, otherwise: bb8]; |
| 92 | + switchInt(move _7) -> [0: bb2, otherwise: bb7]; |
94 | 93 | } |
95 | 94 |
|
96 | 95 | bb2: { |
|
100 | 99 | StorageLive(_10); |
101 | 100 | StorageLive(_11); |
102 | 101 | - StorageLive(_12); |
| 102 | ++ StorageLive(_32); |
103 | 103 | + StorageLive(_33); |
104 | | -+ StorageLive(_34); |
105 | 104 | + nop; |
106 | 105 | StorageLive(_13); |
107 | 106 | _13 = &_8; |
108 | 107 | StorageLive(_14); |
109 | 108 | _14 = &_6; |
110 | 109 | - _12 = (move _13, move _14); |
111 | | -+ _33 = move _13; |
112 | | -+ _34 = move _14; |
| 110 | ++ _32 = move _13; |
| 111 | ++ _33 = move _14; |
113 | 112 | + nop; |
114 | 113 | StorageDead(_14); |
115 | 114 | StorageDead(_13); |
116 | 115 | StorageLive(_15); |
117 | 116 | StorageLive(_16); |
118 | 117 | StorageLive(_17); |
119 | | -- _25 = copy (_12.0: &std::boxed::Box<dyn std::fmt::Display>); |
120 | | -+ _25 = copy _33; |
121 | | - _17 = &(*_25); |
| 118 | +- _24 = copy (_12.0: &std::boxed::Box<dyn std::fmt::Display>); |
| 119 | ++ _24 = copy _32; |
| 120 | + _17 = &(*_24); |
122 | 121 | _16 = core::fmt::rt::Argument::<'_>::new_display::<Box<dyn std::fmt::Display>>(move _17) -> [return: bb3, unwind unreachable]; |
123 | 122 | } |
124 | 123 |
|
125 | 124 | bb3: { |
126 | 125 | StorageDead(_17); |
127 | 126 | StorageLive(_18); |
128 | 127 | StorageLive(_19); |
129 | | -- _26 = copy (_12.1: &u32); |
130 | | -+ _26 = copy _34; |
131 | | - _19 = &(*_26); |
| 128 | +- _25 = copy (_12.1: &u32); |
| 129 | ++ _25 = copy _33; |
| 130 | + _19 = &(*_25); |
132 | 131 | _18 = core::fmt::rt::Argument::<'_>::new_display::<u32>(move _19) -> [return: bb4, unwind unreachable]; |
133 | 132 | } |
134 | 133 |
|
|
139 | 138 | StorageDead(_16); |
140 | 139 | StorageLive(_20); |
141 | 140 | StorageLive(_21); |
| 141 | + _21 = const foo::<T>::{constant#0}::<&[core::fmt::rt::Piece; 7]>; |
| 142 | + _20 = &(*_21); |
142 | 143 | StorageLive(_22); |
143 | | - _22 = const foo::<T>::{constant#0}::<&[core::fmt::rt::Piece; 7]>; |
144 | | - _21 = &(*_22); |
145 | | - _20 = core::fmt::rt::Template::<'_>::new::<7>(move _21) -> [return: bb5, unwind unreachable]; |
| 144 | + StorageLive(_23); |
| 145 | + _23 = &_15; |
| 146 | + _22 = &(*_23); |
| 147 | + _11 = core::fmt::rt::<impl Arguments<'_>>::new::<7, 2>(move _20, move _22) -> [return: bb5, unwind unreachable]; |
146 | 148 | } |
147 | 149 |
|
148 | 150 | bb5: { |
| 151 | + StorageDead(_23); |
149 | 152 | StorageDead(_22); |
150 | 153 | StorageDead(_21); |
151 | | - StorageLive(_23); |
152 | | - StorageLive(_24); |
153 | | - _24 = &_15; |
154 | | - _23 = &(*_24); |
155 | | - _11 = core::fmt::rt::<impl Arguments<'_>>::new::<2>(move _20, move _23) -> [return: bb6, unwind unreachable]; |
156 | | - } |
157 | | - |
158 | | - bb6: { |
159 | | - StorageDead(_24); |
160 | | - StorageDead(_23); |
161 | 154 | StorageDead(_20); |
162 | | - _10 = _eprint(move _11) -> [return: bb7, unwind unreachable]; |
| 155 | + _10 = _eprint(move _11) -> [return: bb6, unwind unreachable]; |
163 | 156 | } |
164 | 157 |
|
165 | | - bb7: { |
| 158 | + bb6: { |
166 | 159 | StorageDead(_11); |
167 | 160 | StorageDead(_15); |
168 | 161 | - StorageDead(_12); |
| 162 | ++ StorageDead(_32); |
169 | 163 | + StorageDead(_33); |
170 | | -+ StorageDead(_34); |
171 | 164 | + nop; |
172 | 165 | StorageDead(_10); |
173 | 166 | _9 = const (); |
174 | 167 | StorageDead(_9); |
175 | 168 | _0 = const (); |
176 | | - drop(_8) -> [return: bb9, unwind unreachable]; |
| 169 | + drop(_8) -> [return: bb8, unwind unreachable]; |
177 | 170 | } |
178 | 171 |
|
179 | | - bb8: { |
| 172 | + bb7: { |
180 | 173 | _0 = const (); |
181 | | - goto -> bb10; |
| 174 | + goto -> bb9; |
182 | 175 | } |
183 | 176 |
|
184 | | - bb9: { |
| 177 | + bb8: { |
185 | 178 | StorageDead(_8); |
186 | | - goto -> bb10; |
| 179 | + goto -> bb9; |
187 | 180 | } |
188 | 181 |
|
189 | | - bb10: { |
| 182 | + bb9: { |
190 | 183 | StorageDead(_6); |
191 | | - _28 = discriminant(_5); |
192 | | - switchInt(move _28) -> [0: bb11, otherwise: bb12]; |
| 184 | + _27 = discriminant(_5); |
| 185 | + switchInt(move _27) -> [0: bb10, otherwise: bb11]; |
193 | 186 | } |
194 | 187 |
|
195 | | - bb11: { |
196 | | - _27 = const false; |
| 188 | + bb10: { |
| 189 | + _26 = const false; |
197 | 190 | StorageDead(_5); |
198 | 191 | - StorageDead(_1); |
| 192 | ++ StorageDead(_30); |
199 | 193 | + StorageDead(_31); |
200 | | -+ StorageDead(_32); |
201 | 194 | + nop; |
202 | 195 | return; |
203 | 196 | } |
204 | 197 |
|
205 | | - bb12: { |
206 | | - drop(_5) -> [return: bb11, unwind unreachable]; |
| 198 | + bb11: { |
| 199 | + drop(_5) -> [return: bb10, unwind unreachable]; |
207 | 200 | } |
208 | 201 | } |
209 | 202 |
|
0 commit comments