Skip to content

Commit e2f468d

Browse files
committed
---
yaml --- r: 194513 b: refs/heads/tmp c: b68ca84 h: refs/heads/master i: 194511: 64ca655 v: v3
1 parent 7dda94f commit e2f468d

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
@@ -34,7 +34,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: a3b13610c5b93d9ada072471a001a5613df6a960
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: e2cc8b1436ffb0ca627708e886caa8fa292fb1e8
37+
refs/heads/tmp: b68ca84ef162943286c315126b52e1a6c3f49b3a
3838
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3939
refs/tags/homu-tmp: 123a754cb8356d0e78837dd4e58103ad801309ff
4040
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

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