5 lines
187 B
Rust
5 lines
187 B
Rust
|
fn main() {
|
||
|
let _val = unsafe { std::mem::MaybeUninit::<*const u8>::uninit().assume_init() };
|
||
|
//~^ ERROR type validation failed at .value: encountered uninitialized raw pointer
|
||
|
}
|