File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ fn main() {}
4848// START rustc.BAR.PromoteTemps.after.mir
4949// bb0: {
5050// ...
51- // _2 = &(promoted[0]: [&'static i32; 1]);
51+ // _6 = const BAR::promoted[0];
52+ // _2 = &(*_6);
5253// _1 = move _2 as &[&'static i32] (Pointer(Unsize));
5354// _0 = const core::slice::<impl [&'static i32]>::as_ptr(move _1) -> [return: bb2, unwind: bb1];
5455// }
@@ -60,7 +61,8 @@ fn main() {}
6061// START rustc.FOO.PromoteTemps.after.mir
6162// bb0: {
6263// ...
63- // _2 = &(promoted[0]: [&'static i32; 1]);
64+ // _6 = const FOO::promoted[0];
65+ // _2 = &(*_6);
6466// _1 = move _2 as &[&'static i32] (Pointer(Unsize));
6567// _0 = const core::slice::<impl [&'static i32]>::as_ptr(move _1) -> [return: bb2, unwind: bb1];
6668// }
You can’t perform that action at this time.
0 commit comments