Skip to content

Commit c2cdc37

Browse files
committed
---
yaml --- r: 194553 b: refs/heads/snap-stage3 c: b68ca84 h: refs/heads/master i: 194551: 0521b1e v: v3
1 parent 9bffdc5 commit c2cdc37

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 242ed0b7c0f6a21096f2cc3e1ad1bdb176d02545
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: e2cc8b1436ffb0ca627708e886caa8fa292fb1e8
4+
refs/heads/snap-stage3: b68ca84ef162943286c315126b52e1a6c3f49b3a
55
refs/heads/try: 961e0358e1a5c0faaef606e31e9965742c1643bf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/test/run-pass/intrinsic-move-val.rs

Lines changed: 4 additions & 2 deletions
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)