Skip to content

Commit 50ea5f4

Browse files
committed
Fix reify_fn_ptr test as we now pretty print const function pointers.
1 parent 9677cbe commit 50ea5f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/mir-opt/const_prop/reify_fn_ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn main() {
1616
// START rustc.main.ConstProp.after.mir
1717
// bb0: {
1818
// ...
19-
// _3 = const Scalar(AllocId(0).0x0) : fn();
19+
// _3 = const main;
2020
// _2 = move _3 as usize (Misc);
2121
// ...
2222
// _1 = move _2 as *const fn() (Misc);

0 commit comments

Comments
 (0)