diff options
Diffstat (limited to 'src/test/ui/unsized-locals/reference-unsized-locals.rs')
-rw-r--r-- | src/test/ui/unsized-locals/reference-unsized-locals.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/unsized-locals/reference-unsized-locals.rs b/src/test/ui/unsized-locals/reference-unsized-locals.rs deleted file mode 100644 index 4e887f327..000000000 --- a/src/test/ui/unsized-locals/reference-unsized-locals.rs +++ /dev/null @@ -1,10 +0,0 @@ -// run-pass - -#![allow(incomplete_features)] -#![feature(unsized_locals)] - -fn main() { - let foo: Box<[u8]> = Box::new(*b"foo"); - let foo: [u8] = *foo; - assert_eq!(&foo, b"foo" as &[u8]); -} |