You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of rust-lang#137483 - bend-n:😅, r=Noratrieb
rename sub_ptr to offset_from_unsigned
i also made `byte_sub_ptr` `byte_offset_from_unsigned`
fixesrust-lang#137121
tracking issue rust-lang#95892
Copy file name to clipboardExpand all lines: tests/ui/const-ptr/forbidden_slices.stderr
+3-3
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,7 @@ error[E0080]: could not evaluate static initializer
104
104
|
105
105
= note: the evaluated program panicked at 'assertion failed: 0 < pointee_size && pointee_size <= isize::MAX as usize', $SRC_DIR/core/src/ptr/const_ptr.rs:LL:COL
0 commit comments