Skip to content

Commit 6359b1b

Browse files
committed
Auto merge of #1607 - RalfJung:rustup, r=RalfJung
rustup
2 parents c3a84c1 + 1ad827c commit 6359b1b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
17cc9b6256c95c31944591aec683884fead4e3b6
1+
a53fb30e3bf2655b0563da6d561c23cda5f3ec11

tests/run-pass/box.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fn into_raw() { unsafe {
2121

2222
fn into_unique() { unsafe {
2323
let b = Box::new(4i32);
24-
let u = Box::into_unique(b);
24+
let u = Box::into_unique(b).0;
2525

2626
// "lose the tag"
2727
let r = ((u.as_ptr() as usize)+0) as *mut i32;

tests/run-pass/dyn-traits.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#![feature(unsized_locals)]
1+
#![feature(unsized_locals, unsized_fn_params)]
2+
#![allow(incomplete_features)]
23

34
fn ref_box_dyn() {
45
struct Struct(i32);

0 commit comments

Comments
 (0)