We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea86335 commit c003fd0Copy full SHA for c003fd0
rust-version
@@ -1 +1 @@
1
-e7c23ab933ebc1f205c3b59f4ebc85d40f67d404
+a4e595db8f12f9ee926256745d757004b850703f
tests/compile-fail/transmute-pair-uninit.rs
@@ -17,6 +17,6 @@ fn main() {
17
assert_eq!(byte, 0);
18
}
19
let v = unsafe { *z.offset(first_undef) };
20
- if v == 0 {}
+ if v == 0 { println!("it is zero"); }
21
//~^ ERROR this operation requires initialized memory
22
0 commit comments