summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/generic-param-mismatch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/const-generics/generic-param-mismatch.rs')
-rw-r--r--src/test/ui/const-generics/generic-param-mismatch.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/test/ui/const-generics/generic-param-mismatch.rs b/src/test/ui/const-generics/generic-param-mismatch.rs
deleted file mode 100644
index 2e201e50a..000000000
--- a/src/test/ui/const-generics/generic-param-mismatch.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-fn test<const N: usize, const M: usize>() -> [u8; M] {
- [0; N] //~ ERROR mismatched types
-}
-
-fn main() {}