We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20dfaf7 commit 9abf6fcCopy full SHA for 9abf6fc
tests/ui/ptr_offset_with_cast.stderr
@@ -4,7 +4,7 @@ error: use of `offset` with a `usize` casted to an `isize`
4
10 | ptr.offset(offset_usize as isize);
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ptr.add(offset_usize)`
6
|
7
- = note: `-D ptr-offset-with-cast` implied by `-D warnings`
+ = note: `-D clippy::ptr-offset-with-cast` implied by `-D warnings`
8
9
error: use of `wrapping_offset` with a `usize` casted to an `isize`
10
--> $DIR/ptr_offset_with_cast.rs:14:9
0 commit comments