about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-05 12:11:17 +0200
committerGitHub <noreply@github.com>2019-09-05 12:11:17 +0200
commit23265741d33b9baff5ae0c50b328ccd54a3c1b47 (patch)
tree28b673732d2874d3541d2a3b6f33beebb84437c1 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent59237ec66526101e895f6b3430be780aa44c9d9d (diff)
parent46877e289087c67d03572019fca9792d95e55e0c (diff)
downloadrust-23265741d33b9baff5ae0c50b328ccd54a3c1b47.tar.gz
rust-23265741d33b9baff5ae0c50b328ccd54a3c1b47.zip
Rollup merge of #64100 - wesleywiser:fix_miri_const_eval, r=oli-obk
Fix const eval bug breaking run-pass tests in Miri

PR #63580 broke miri's ability to run the run-pass test suite with MIR
optimizations enabled. The issue was that we weren't properly handling
the substs and DefId associated with a Promoted value. This didn't break
anything in rustc because in rustc this code runs before the Inliner
pass which is where the DefId and substs can diverge from their initial
values. It broke Miri though because it ran this code again after
running the optimization pass.

r? @oli-obk
cc @RalfJung
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions