Uh oh!
There was an error while loading. Please reload this page.
Test failure of unchecked arithmetic intrinsics in const eval - #68937
Conversation
RalfJung
commented
Feb 10, 2020
Any reason you used half a dozen different files as opposed to putting them all into the same file? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ecstatic-morse
commented
Feb 10, 2020
|
b7f8065 to
8db5d55CompareRalfJung
commented
Feb 10, 2020
Yeah, Miri stops on the first error (not sure what else an interpreter could possibly do). rustc just gives up for that particular |
Uh oh!
There was an error while loading. Please reload this page.
8db5d55 to
ee52fe6CompareRalfJung
commented
Feb 12, 2020
Thanks! @bors r+ rollup |
bors
commented
Feb 12, 2020
📌 Commit ee52fe6 has been approved by |
…-test, r=RalfJung Test failure of unchecked arithmetic intrinsics in const eval Test that the unchecked arithmetic intrinsics that were made unstably const in rust-lang#68809 emit an error during const-eval if given invalid input. Addresses [this comment](rust-lang#68809 (comment)). r? @RalfJung
Rollup of 11 pull requests Successful merges: - #67695 (Added dyn and true keyword docs) - #68487 ([experiment] Support linking from a .rlink file) - #68554 (Split lang_items to crates `rustc_hir` and `rustc_passes`.) - #68937 (Test failure of unchecked arithmetic intrinsics in const eval) - #68947 (Python script PEP8 style guide space formatting and minor Python source cleanup) - #68999 (remove dependency on itertools) - #69026 (Remove common usage pattern from `AllocRef`) - #69027 (Add missing `_zeroed` varants to `AllocRef`) - #69058 (Preparation for allocator aware `Box`) - #69070 (Add self to .mailmap) - #69077 (Fix outdated doc comment.) Failed merges: r? @ghost
Test that the unchecked arithmetic intrinsics that were made unstably const in #68809 emit an error during const-eval if given invalid input.
Addresses this comment.
r? @RalfJung