blob: 6c8df1157c6c8001a9c733b7bd979e37c25571e8 [file] [log] [blame] [edit]
fn cast_thin_to_fat(x: *const ()) {
x as *const [u8];
//~^ ERROR: cannot cast thin pointer `*const ()` to wide pointer `*const [u8]`
}
fn main() {}