rust/compiler/rustc_const_eval
Dylan DPC deab13c681
Rollup merge of #99692 - RalfJung:too-far, r=oli-obk
interpret, ptr_offset_from: refactor and test too-far-apart check

We didn't have any tests for the "too far apart" message, and indeed that check mostly relied on the in-bounds check and was otherwise probably not entirely correct... so I rewrote that check, and it is before the in-bounds check so we can test it separately.
2022-07-26 14:26:58 +05:30
..
src Rollup merge of #99692 - RalfJung:too-far, r=oli-obk 2022-07-26 14:26:58 +05:30
Cargo.toml