blob: 177b78754cc3c1b0da8c971f7781b9c1b63657aa (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0607]: cannot cast thin pointer `*const ()` to fat pointer `*const [u8]`
--> $DIR/issue-31511.rs:2:5
|
LL | x as *const [u8];
| ^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0607`.
|