Skip to content

Commit b597446

Browse files
committed
---
yaml --- r: 194997 b: refs/heads/beta c: b68ca84 h: refs/heads/master i: 194995: 8f5b83a v: v3
1 parent 870326e commit b597446

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
@@ -31,7 +31,7 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: e2cc8b1436ffb0ca627708e886caa8fa292fb1e8
34+
refs/heads/beta: b68ca84ef162943286c315126b52e1a6c3f49b3a
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3737
refs/heads/tmp: be7f6ac7008f8ddf980ac07026b05bdd865f29cc

branches/beta/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)