about summary refs log tree commit diff
diff options
context:
space:
mode:
authorben <benlewisj@gmail.com>2019-10-05 14:03:41 +1300
committerben <benlewisj@gmail.com>2019-10-09 05:10:00 +1300
commit50ea5f45356b645e44a03d809fa86c78c264ae28 (patch)
tree3a469954120b0db2bc07bdf89dd3c56aec665b9c
parent9677cbe82e4b317c63e4459d90f7a1f2498c16ae (diff)
downloadrust-50ea5f45356b645e44a03d809fa86c78c264ae28.tar.gz
rust-50ea5f45356b645e44a03d809fa86c78c264ae28.zip
Fix reify_fn_ptr test as we now pretty print const function pointers.
-rw-r--r--src/test/mir-opt/const_prop/reify_fn_ptr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/mir-opt/const_prop/reify_fn_ptr.rs b/src/test/mir-opt/const_prop/reify_fn_ptr.rs
index e9b61690cf8..ad7f195676a 100644
--- a/src/test/mir-opt/const_prop/reify_fn_ptr.rs
+++ b/src/test/mir-opt/const_prop/reify_fn_ptr.rs
@@ -16,7 +16,7 @@ fn main() {
 // START rustc.main.ConstProp.after.mir
 //  bb0: {
 //      ...
-//      _3 = const Scalar(AllocId(0).0x0) : fn();
+//      _3 = const main;
 //      _2 = move _3 as usize (Misc);
 //      ...
 //      _1 = move _2 as *const fn() (Misc);