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() {}
48
48
// START rustc.BAR.PromoteTemps.after.mir
49
49
// bb0: {
50
50
// ...
51
- // _2 = &(promoted[0]: [&'static i32; 1]);
51
+ // _6 = const BAR::promoted[0];
52
+ // _2 = &(*_6);
52
53
// _1 = move _2 as &[&'static i32] (Pointer(Unsize));
53
54
// _0 = const core::slice::<impl [&'static i32]>::as_ptr(move _1) -> [return: bb2, unwind: bb1];
54
55
// }
@@ -60,7 +61,8 @@ fn main() {}
60
61
// START rustc.FOO.PromoteTemps.after.mir
61
62
// bb0: {
62
63
// ...
63
- // _2 = &(promoted[0]: [&'static i32; 1]);
64
+ // _6 = const FOO::promoted[0];
65
+ // _2 = &(*_6);
64
66
// _1 = move _2 as &[&'static i32] (Pointer(Unsize));
65
67
// _0 = const core::slice::<impl [&'static i32]>::as_ptr(move _1) -> [return: bb2, unwind: bb1];
66
68
// }
You can’t perform that action at this time.
0 commit comments