]> git.lizzy.rs Git - rust.git/blobdiff - src/test/mir-opt/const_promotion_extern_static.FOO.PromoteTemps.diff
Revert "Auto merge of #93800 - b-naber:static-initializers-mir-val, r=oli-obk"
[rust.git] / src / test / mir-opt / const_promotion_extern_static.FOO.PromoteTemps.diff
index a9cf3ca976797da7321ea1f14095b3cd764fbd71..ed48f5dc9dcbca44b6b907c5a98053db1033983d 100644 (file)
@@ -20,7 +20,9 @@
 -         StorageLive(_5);                 // scope 1 at $DIR/const-promotion-extern-static.rs:13:42: 13:43
 -         _5 = const {alloc3: *const i32}; // scope 1 at $DIR/const-promotion-extern-static.rs:13:42: 13:43
 +         _6 = const FOO::promoted[0];     // scope 0 at $DIR/const-promotion-extern-static.rs:13:31: 13:55
-+                                          // ty::Const
+                                           // ty::Const
+-                                          // + ty: *const i32
+-                                          // + val: Value(Scalar(alloc3))
 +                                          // + ty: &[&i32; 1]
 +                                          // + val: Unevaluated(FOO, [], Some(promoted[0]))
                                            // mir::Constant