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.
make check-pretty
1 parent e2cc8b1 commit b68ca84Copy full SHA for b68ca84
src/test/run-pass/intrinsic-move-val.rs
@@ -13,7 +13,8 @@
13
#![allow(unknown_features)]
14
#![feature(box_syntax)]
15
#![feature(intrinsics)]
16
-#![feature(filling_drop)] // needed to check for drop fill word.
+// needed to check for drop fill word.
17
+#![feature(filling_drop)]
18
19
use std::mem::{self, transmute};
20
@@ -31,6 +32,7 @@ pub fn main() {
31
32
let mut z: *const uint = transmute(&x);
33
rusti::move_val_init(&mut y, x);
34
assert_eq!(*y, 1);
- assert_eq!(*z, mem::POST_DROP_USIZE); // `x` is nulled out, not directly visible
35
+ // `x` is nulled out, not directly visible
36
+ assert_eq!(*z, mem::POST_DROP_USIZE);
37
}
38
0 commit comments