]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #91065 - wesleywiser:add_incr_test, r=jackh726
authorMatthias Krüger <matthias.krueger@famsik.de>
Tue, 7 Dec 2021 10:04:57 +0000 (11:04 +0100)
committerGitHub <noreply@github.com>
Tue, 7 Dec 2021 10:04:57 +0000 (11:04 +0100)
commit42d0f8351aafa58755c44f49358675da208c4d51
treec167c5d250974d34bfc3872ca434505fe1bf1652
parentf84a734a8ea3fdd9abe0217797d7a07f31bb8ee8
parent6fe13f62c1e73e6d102ce3673ad31d7195169560
Rollup merge of #91065 - wesleywiser:add_incr_test, r=jackh726

Add test for evaluate_obligation: Ok(EvaluatedToOkModuloRegions) ICE

Adds the minimial repro test case from #85360. The fix for #85360 was
supposed to be #85868 however the repro was resolved in the 2021-07-05
nightly while #85868 didn't land until 2021-09-03. The reason for that
is d34a3a401b4e44f289a4d5bf53da83367cbb6aa7 **also** resolves that
issue.

To test if #85868 actually fixes #85360, I reverted
d34a3a401b4e44f289a4d5bf53da83367cbb6aa7 and found that #85868 does
indeed resolve #85360.

With that question resolved, add a test case to our incremental test
suite for the original Ok(EvaluatedToOkModuloRegions) ICE.

Thanks to ````@lqd```` for helping track this down!