diff options
Diffstat (limited to 'src/test/ui/error-codes/E0730.rs')
-rw-r--r-- | src/test/ui/error-codes/E0730.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/error-codes/E0730.rs b/src/test/ui/error-codes/E0730.rs deleted file mode 100644 index 04f5e5d42..000000000 --- a/src/test/ui/error-codes/E0730.rs +++ /dev/null @@ -1,8 +0,0 @@ -fn is_123<const N: usize>(x: [u32; N]) -> bool { - match x { - [1, 2, ..] => true, //~ ERROR cannot pattern-match on an array without a fixed length - _ => false - } -} - -fn main() {} |