about summary refs log tree commit diff
path: root/src/test/ui/transmutability/arrays/issue-103783-array-length.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/transmutability/arrays/issue-103783-array-length.rs')
-rw-r--r--src/test/ui/transmutability/arrays/issue-103783-array-length.rs24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/test/ui/transmutability/arrays/issue-103783-array-length.rs b/src/test/ui/transmutability/arrays/issue-103783-array-length.rs
deleted file mode 100644
index cb36e539ed1..00000000000
--- a/src/test/ui/transmutability/arrays/issue-103783-array-length.rs
+++ /dev/null
@@ -1,24 +0,0 @@
-#![crate_type = "lib"]
-#![feature(transmutability)]
-#![allow(dead_code)]
-
-mod assert {
-    use std::mem::{Assume, BikeshedIntrinsicFrom};
-    pub struct Context;
-
-    pub fn is_maybe_transmutable<Src, Dst>()
-    where
-        Dst: BikeshedIntrinsicFrom<
-            Src,
-            Context,
-            { Assume { alignment: true, lifetimes: true, safety: true, validity: true } },
-        >,
-    {
-    }
-}
-
-fn test() {
-    type NaughtyLenArray = [u32; 3.14159]; //~ ERROR mismatched types
-    type JustUnit = ();
-    assert::is_maybe_transmutable::<JustUnit, NaughtyLenArray>();
-}