This commit is contained in:
Ralf Jung 2021-02-23 09:23:49 +01:00
parent ea86335318
commit c003fd0157
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
e7c23ab933ebc1f205c3b59f4ebc85d40f67d404
a4e595db8f12f9ee926256745d757004b850703f

@ -17,6 +17,6 @@ fn main() {
assert_eq!(byte, 0);
}
let v = unsafe { *z.offset(first_undef) };
if v == 0 {}
if v == 0 { println!("it is zero"); }
//~^ ERROR this operation requires initialized memory
}