summaryrefslogtreecommitdiffstats
path: root/src/test/ui/array-slice-vec/match_arr_unknown_len.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/array-slice-vec/match_arr_unknown_len.rs')
-rw-r--r--src/test/ui/array-slice-vec/match_arr_unknown_len.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/array-slice-vec/match_arr_unknown_len.rs b/src/test/ui/array-slice-vec/match_arr_unknown_len.rs
deleted file mode 100644
index d190d7054..000000000
--- a/src/test/ui/array-slice-vec/match_arr_unknown_len.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-fn is_123<const N: usize>(x: [u32; N]) -> bool {
- match x {
- [1, 2] => true, //~ ERROR mismatched types
- _ => false
- }
-}
-
-fn main() {}