Skip to content

Commit c003fd0

Browse files
committed
rustup
1 parent ea86335 commit c003fd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e7c23ab933ebc1f205c3b59f4ebc85d40f67d404
1+
a4e595db8f12f9ee926256745d757004b850703f

tests/compile-fail/transmute-pair-uninit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ fn main() {
1717
assert_eq!(byte, 0);
1818
}
1919
let v = unsafe { *z.offset(first_undef) };
20-
if v == 0 {}
20+
if v == 0 { println!("it is zero"); }
2121
//~^ ERROR this operation requires initialized memory
2222
}

0 commit comments

Comments
 (0)