Skip to content

Commit bf83ecf

Browse files
committed
Update ui output
1 parent 3956c48 commit bf83ecf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/test/ui/consts/offset_from_ub.stderr

+6-6
Original file line numberDiff line numberDiff line change
@@ -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:17:27
8+
| inside call to `std::ptr::<impl *const Struct>::offset_from` at $DIR/offset_from_ub.rs:20:27
99
|
10-
::: $DIR/offset_from_ub.rs:11:1
10+
::: $DIR/offset_from_ub.rs:14:1
1111
|
1212
LL | / pub const DIFFERENT_ALLOC: usize = {
1313
LL | |
@@ -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:23:14
30+
| inside call to `std::ptr::<impl *const u8>::offset_from` at $DIR/offset_from_ub.rs:26:14
3131
|
32-
::: $DIR/offset_from_ub.rs:21:1
32+
::: $DIR/offset_from_ub.rs:24:1
3333
|
3434
LL | / pub const NOT_PTR: usize = {
3535
LL | |
@@ -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:31:27
47+
| inside call to `std::ptr::<impl *const u16>::offset_from` at $DIR/offset_from_ub.rs:34:27
4848
|
49-
::: $DIR/offset_from_ub.rs:26:1
49+
::: $DIR/offset_from_ub.rs:29:1
5050
|
5151
LL | / pub const NOT_MULTIPLE_OF_SIZE: usize = {
5252
LL | |

0 commit comments

Comments
 (0)