We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3a84c1 commit 1ad827cCopy full SHA for 1ad827c
rust-version
@@ -1 +1 @@
1
-17cc9b6256c95c31944591aec683884fead4e3b6
+a53fb30e3bf2655b0563da6d561c23cda5f3ec11
tests/run-pass/box.rs
@@ -21,7 +21,7 @@ fn into_raw() { unsafe {
21
22
fn into_unique() { unsafe {
23
let b = Box::new(4i32);
24
- let u = Box::into_unique(b);
+ let u = Box::into_unique(b).0;
25
26
// "lose the tag"
27
let r = ((u.as_ptr() as usize)+0) as *mut i32;
tests/run-pass/dyn-traits.rs
@@ -1,4 +1,5 @@
-#![feature(unsized_locals)]
+#![feature(unsized_locals, unsized_fn_params)]
2
+#![allow(incomplete_features)]
3
4
fn ref_box_dyn() {
5
struct Struct(i32);
0 commit comments