const_prop no longer does ptr-to-int casts

This commit is contained in:
Ralf Jung 2019-07-25 10:47:11 +02:00
parent f06a274880
commit 0f97583e68

View File

@ -19,7 +19,7 @@ fn main() {
// _3 = const Scalar(AllocId(1).0x0) : fn();
// _2 = move _3 as usize (Misc);
// ...
// _1 = const Scalar(AllocId(1).0x0) : *const fn();
// _1 = move _2 as *const fn() (Misc);
// ...
// }
// END rustc.main.ConstProp.after.mir