1 error: use of `offset` with a `usize` casted to an `isize`
2 --> $DIR/ptr_offset_with_cast.rs:10:9
4 10 | ptr.offset(offset_usize as isize);
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ptr.add(offset_usize)`
7 = note: `-D ptr-offset-with-cast` implied by `-D warnings`
9 error: aborting due to previous error