Skip to content

Commit b68ca84

Browse files
committed
workaround pretty-print bugs to placate make check-pretty.
1 parent e2cc8b1 commit b68ca84

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/test/run-pass/intrinsic-move-val.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]
1515
#![feature(intrinsics)]
16-
#![feature(filling_drop)] // needed to check for drop fill word.
16+
// needed to check for drop fill word.
17+
#![feature(filling_drop)]
1718

1819
use std::mem::{self, transmute};
1920

@@ -31,6 +32,7 @@ pub fn main() {
3132
let mut z: *const uint = transmute(&x);
3233
rusti::move_val_init(&mut y, x);
3334
assert_eq!(*y, 1);
34-
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);
3537
}
3638
}

0 commit comments

Comments
 (0)