@@ -5,9 +5,9 @@ LL | intrinsics::ptr_offset_from(self, origin)
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66 | |
77 | ptr_offset_from cannot compute offset of pointers into different allocations.
8- | inside call to `std::ptr::<impl *const Struct>::offset_from` at $DIR/offset_from_ub.rs:20 :27
8+ | inside call to `std::ptr::<impl *const Struct>::offset_from` at $DIR/offset_from_ub.rs:19 :27
99 |
10- ::: $DIR/offset_from_ub.rs:14 :1
10+ ::: $DIR/offset_from_ub.rs:13 :1
1111 |
1212LL | / pub const DIFFERENT_ALLOC: usize = {
1313LL | |
@@ -27,9 +27,9 @@ LL | intrinsics::ptr_offset_from(self, origin)
2727 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2828 | |
2929 | a memory access tried to interpret some bytes as a pointer
30- | inside call to `std::ptr::<impl *const u8>::offset_from` at $DIR/offset_from_ub.rs:26 :14
30+ | inside call to `std::ptr::<impl *const u8>::offset_from` at $DIR/offset_from_ub.rs:25 :14
3131 |
32- ::: $DIR/offset_from_ub.rs:24 :1
32+ ::: $DIR/offset_from_ub.rs:23 :1
3333 |
3434LL | / pub const NOT_PTR: usize = {
3535LL | |
@@ -44,9 +44,9 @@ LL | intrinsics::ptr_offset_from(self, origin)
4444 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4545 | |
4646 | exact_div: 1 cannot be divided by 2 without remainder
47- | inside call to `std::ptr::<impl *const u16>::offset_from` at $DIR/offset_from_ub.rs:34 :27
47+ | inside call to `std::ptr::<impl *const u16>::offset_from` at $DIR/offset_from_ub.rs:33 :27
4848 |
49- ::: $DIR/offset_from_ub.rs:29 :1
49+ ::: $DIR/offset_from_ub.rs:28 :1
5050 |
5151LL | / pub const NOT_MULTIPLE_OF_SIZE: usize = {
5252LL | |
0 commit comments