diff options
| author | ben <benlewisj@gmail.com> | 2019-10-05 14:03:41 +1300 |
|---|---|---|
| committer | ben <benlewisj@gmail.com> | 2019-10-09 05:10:00 +1300 |
| commit | 50ea5f45356b645e44a03d809fa86c78c264ae28 (patch) | |
| tree | 3a469954120b0db2bc07bdf89dd3c56aec665b9c | |
| parent | 9677cbe82e4b317c63e4459d90f7a1f2498c16ae (diff) | |
| download | rust-50ea5f45356b645e44a03d809fa86c78c264ae28.tar.gz rust-50ea5f45356b645e44a03d809fa86c78c264ae28.zip | |
Fix reify_fn_ptr test as we now pretty print const function pointers.
| -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 e9b61690cf8..ad7f195676a 100644 --- a/src/test/mir-opt/const_prop/reify_fn_ptr.rs +++ b/src/test/mir-opt/const_prop/reify_fn_ptr.rs @@ -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); |
