summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-31511.stderr
blob: cb2991809dd138fa3a26c6045c657d366431103b (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 previous error

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