@@ -5,6 +5,7 @@ LL | intrinsics::ptr_offset_from(self, origin)
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66 | |
77 | ptr_offset_from cannot compute offset of pointers into different allocations.
8+ | inside `std::ptr::const_ptr::<impl *const Struct>::offset_from` at $SRC_DIR/libcore/ptr/const_ptr.rs:LL:COL
89 | inside `DIFFERENT_ALLOC` at $DIR/offset_from_ub.rs:22:27
910 |
1011 ::: $DIR/offset_from_ub.rs:16:1
@@ -27,6 +28,7 @@ LL | intrinsics::ptr_offset_from(self, origin)
2728 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2829 | |
2930 | unable to turn bytes into a pointer
31+ | inside `std::ptr::const_ptr::<impl *const u8>::offset_from` at $SRC_DIR/libcore/ptr/const_ptr.rs:LL:COL
3032 | inside `NOT_PTR` at $DIR/offset_from_ub.rs:28:14
3133 |
3234 ::: $DIR/offset_from_ub.rs:26:1
@@ -44,6 +46,7 @@ LL | intrinsics::ptr_offset_from(self, origin)
4446 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4547 | |
4648 | exact_div: 1isize cannot be divided by 2isize without remainder
49+ | inside `std::ptr::const_ptr::<impl *const u16>::offset_from` at $SRC_DIR/libcore/ptr/const_ptr.rs:LL:COL
4750 | inside `NOT_MULTIPLE_OF_SIZE` at $DIR/offset_from_ub.rs:36:14
4851 |
4952 ::: $DIR/offset_from_ub.rs:31:1
@@ -64,6 +67,7 @@ LL | intrinsics::ptr_offset_from(self, origin)
6467 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6568 | |
6669 | invalid use of NULL pointer
70+ | inside `std::ptr::const_ptr::<impl *const u8>::offset_from` at $SRC_DIR/libcore/ptr/const_ptr.rs:LL:COL
6771 | inside `OFFSET_FROM_NULL` at $DIR/offset_from_ub.rs:42:14
6872 |
6973 ::: $DIR/offset_from_ub.rs:39:1
@@ -82,6 +86,7 @@ LL | intrinsics::ptr_offset_from(self, origin)
8286 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8387 | |
8488 | unable to turn bytes into a pointer
89+ | inside `std::ptr::const_ptr::<impl *const u8>::offset_from` at $SRC_DIR/libcore/ptr/const_ptr.rs:LL:COL
8590 | inside `DIFFERENT_INT` at $DIR/offset_from_ub.rs:49:14
8691 |
8792 ::: $DIR/offset_from_ub.rs:45:1
0 commit comments