mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
13 lines
322 B
Plaintext
13 lines
322 B
Plaintext
error[E0606]: casting `&u8` as `u8` is invalid
|
|
--> $DIR/E0606.rs:2:5
|
|
|
|
|
LL | &0u8 as u8;
|
|
| ----^^^^^^
|
|
| |
|
|
| cannot cast `&u8` as `u8`
|
|
| help: dereference the expression: `*&0u8`
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0606`.
|