]> git.lizzy.rs Git - rust.git/blobdiff - src/test/mir-opt/const_prop/reify_fn_ptr.rs
[const-prop] Replace `Cast` handling with use of `InterpCx`
[rust.git] / src / test / mir-opt / const_prop / reify_fn_ptr.rs
index 7e36b2a6b1b396bc35b8e4813e1e8a4323fc37ee..e9b61690cf89e43b40eda855ca94340cb1a21c93 100644 (file)
@@ -16,7 +16,7 @@ fn main() {
 // START rustc.main.ConstProp.after.mir
 //  bb0: {
 //      ...
-//      _3 = const Scalar(AllocId(1).0x0) : fn();
+//      _3 = const Scalar(AllocId(0).0x0) : fn();
 //      _2 = move _3 as usize (Misc);
 //      ...
 //      _1 = move _2 as *const fn() (Misc);