]> git.lizzy.rs Git - rust.git/blobdiff - src/test/mir-opt/const-promotion-extern-static.rs
Render const pointers in MIR more compactly
[rust.git] / src / test / mir-opt / const-promotion-extern-static.rs
index 3abc90e42e8ca91f5187381184ba68e96b64b68f..f6f7d0910911c544e9ca15096dd6e73d9a9811b4 100644 (file)
@@ -14,7 +14,7 @@ fn main() {}
 // START rustc.FOO.PromoteTemps.before.mir
 // bb0: {
 // ...
-//     _5 = const Scalar(AllocId(1).0x0) : &i32;
+//     _5 = const Scalar(alloc1+0) : &i32;
 //     _4 = &(*_5);
 //     _3 = [move _4];
 //     _2 = &_3;
@@ -31,7 +31,7 @@ fn main() {}
 // START rustc.BAR.PromoteTemps.before.mir
 // bb0: {
 // ...
-//     _5 = const Scalar(AllocId(0).0x0) : &i32;
+//     _5 = const Scalar(alloc0+0) : &i32;
 //     _4 = &(*_5);
 //     _3 = [move _4];
 //     _2 = &_3;