diff options
Diffstat (limited to 'src/test/ui/unsized/maybe-bounds-where-cpass.rs')
-rw-r--r-- | src/test/ui/unsized/maybe-bounds-where-cpass.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/unsized/maybe-bounds-where-cpass.rs b/src/test/ui/unsized/maybe-bounds-where-cpass.rs deleted file mode 100644 index 0e018cdab..000000000 --- a/src/test/ui/unsized/maybe-bounds-where-cpass.rs +++ /dev/null @@ -1,9 +0,0 @@ -// check-pass - -struct S<T>(*const T) where T: ?Sized; - - -fn main() { - let u = vec![1, 2, 3]; - let _s: S<[u8]> = S(&u[..]); -} |