const_prop: detect and avoid catching Miri errors that require allocation#66832
const_prop: detect and avoid catching Miri errors that require allocation#66832bors merged 1 commit intorust-lang:masterfrom
Conversation
|
@bors try |
|
⌛ Trying commit 5d23518 with merge 3e6312fd10ef1f314ce953e2d049ff70f159dca6... |
|
@rust-timer build 3e6312fd10ef1f314ce953e2d049ff70f159dca6 |
|
Queued 3e6312fd10ef1f314ce953e2d049ff70f159dca6 with parent 96ad8e5, future comparison URL. |
|
☀️ Try build successful - checks-azure |
|
Finished benchmarking try commit 3e6312fd10ef1f314ce953e2d049ff70f159dca6, comparison URL. |
|
Maybe up to 0.9% improvement, but heavier const evaluable MIR than what is tested may have shown more effect. Still, explicitly having an unsupported variant for const prop seems good @bors r+ |
|
📌 Commit 5d23518 has been approved by |
|
I also added this in preparation for cleaning up our error types, where I will remove many of them -- and thanks to this check I should notice when I remove one that we are catching (and thus that I should not remove). |
|
⌛ Testing commit 5d23518 with merge f661f54b4c9bb73ddfa9f5c32b538e913cfcded6... |
This comment has been minimized.
This comment has been minimized.
|
💔 Test failed - checks-azure |
|
Chocolatey was down. @bors retry |
|
⌛ Testing commit 5d23518 with merge ae46fabd1584c9b56dd05cadb6776de5807af77c... |
This comment has been minimized.
This comment has been minimized.
|
💔 Test failed - checks-azure |
|
@bors retry spurious |
…-obk const_prop: detect and avoid catching Miri errors that require allocation r? @wesleywiser @oli-obk
Rollup of 9 pull requests Successful merges: - #66503 (More useful test error messages on should_panic(expected=...) mismatch) - #66662 (Miri: run panic-catching tests in liballoc) - #66679 (Improve lifetime errors with implicit trait object lifetimes) - #66726 (Use recursion_limit for const eval stack limit) - #66790 (Do `min_const_fn` checks for `SetDiscriminant`s target) - #66832 (const_prop: detect and avoid catching Miri errors that require allocation) - #66880 (Add long error code explanation message for E0203) - #66890 (Format liballoc with rustfmt) - #66896 (pass Queries to compiler callbacks) Failed merges: r? @ghost
r? @wesleywiser @oli-obk