Fix reify_fn_ptr test as we now pretty print const function pointers.

This commit is contained in:
ben 2019-10-05 14:03:41 +13:00
parent 9677cbe82e
commit 50ea5f4535

View File

@ -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);