summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/zero_offset.stderr
blob: cfcd7de2b3d2c6b4503cbb125ff03be2ee0896b8 (plain)
1
2
3
4
5
6
7
8
9
error[E0606]: casting `&i32` as `*const u8` is invalid
  --> $DIR/zero_offset.rs:9:17
   |
LL |         let y = &1 as *const u8;
   |                 ^^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0606`.