diff options
Diffstat (limited to 'src/test/ui/parser/issues/issue-72373.rs')
-rw-r--r-- | src/test/ui/parser/issues/issue-72373.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/parser/issues/issue-72373.rs b/src/test/ui/parser/issues/issue-72373.rs deleted file mode 100644 index 4da6061c2..000000000 --- a/src/test/ui/parser/issues/issue-72373.rs +++ /dev/null @@ -1,9 +0,0 @@ -fn foo(c: &[u32], n: u32) -> u32 { - match *c { - [h, ..] if h > n => 0, - [h, ..] if h == n => 1, - [h, ref ts..] => foo(c, n - h) + foo(ts, n), - //~^ ERROR expected one of `,`, `@`, `]`, or `|`, found `..` - [] => 0, - } -} |