Skip to content

Commit d7b9bbf

Browse files
committed
const_prop no longer does ptr-to-int casts
1 parent 0ba2e80 commit d7b9bbf

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn main() {
1919
// _3 = const Scalar(AllocId(1).0x0) : fn();
2020
// _2 = move _3 as usize (Misc);
2121
// ...
22-
// _1 = const Scalar(AllocId(1).0x0) : *const fn();
22+
// _1 = move _2 as *const fn() (Misc);
2323
// ...
2424
// }
2525
// END rustc.main.ConstProp.after.mir

0 commit comments

Comments
 (0)