mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
deab13c681
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |