diff options
| author | Ralf Jung <post@ralfj.de> | 2019-07-25 10:47:11 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2019-08-02 23:04:11 +0200 |
| commit | 0f97583e68f26eb1a1957886ea1fa8fa17288b92 (patch) | |
| tree | 4728dfa578b666df611eda3e07b0d553938fe632 | |
| parent | f06a27488011138062ee515a17494bce88088407 (diff) | |
| download | rust-0f97583e68f26eb1a1957886ea1fa8fa17288b92.tar.gz rust-0f97583e68f26eb1a1957886ea1fa8fa17288b92.zip | |
const_prop no longer does ptr-to-int casts
| -rw-r--r-- | src/test/mir-opt/const_prop/reify_fn_ptr.rs | 2 |
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 809eb19ade8..7e36b2a6b1b 100644 --- a/src/test/mir-opt/const_prop/reify_fn_ptr.rs +++ b/src/test/mir-opt/const_prop/reify_fn_ptr.rs @@ -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 |
