]> git.lizzy.rs Git - rust.git/blob - tests/ui/zero_offset.stderr
Auto merge of #6336 - giraffate:sync-from-rust, r=flip1995
[rust.git] / tests / ui / zero_offset.stderr
1 error[E0606]: casting `&i32` as `*const u8` is invalid
2   --> $DIR/zero_offset.rs:9:17
3    |
4 LL |         let y = &1 as *const u8;
5    |                 ^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0606`.