rust/tests/ui/issues/issue-31511.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
276 B
Plaintext
Raw Normal View History

2018-07-16 05:11:54 +08:00
error[E0607]: cannot cast thin pointer `*const ()` to fat pointer `*const [u8]`
2018-12-25 23:56:47 +08:00
--> $DIR/issue-31511.rs:2:5
2018-07-16 05:11:54 +08:00
|
LL | x as *const [u8];
| ^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0607`.