diff options
Diffstat (limited to 'src/test/ui/const-generics/infer_arr_len_from_pat.rs')
-rw-r--r-- | src/test/ui/const-generics/infer_arr_len_from_pat.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/const-generics/infer_arr_len_from_pat.rs b/src/test/ui/const-generics/infer_arr_len_from_pat.rs deleted file mode 100644 index 40f6f5b8d..000000000 --- a/src/test/ui/const-generics/infer_arr_len_from_pat.rs +++ /dev/null @@ -1,11 +0,0 @@ -// check-pass -// -// see issue #70529 - -fn as_chunks<const N: usize>() -> [u8; N] { - loop {} -} - -fn main() { - let [_, _] = as_chunks(); -} |