fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
444 B13 linesraw
1error: expected one of `,`, `@`, `]`, or `|`, found `..`
2  --> $DIR/issue-72373.rs:5:19
3   |
4LL |         [h, ref ts..] => foo(c, n - h) + foo(ts, n),
5   |                   ^^ expected one of `,`, `@`, `]`, or `|`
6   |
7help: if you meant to bind the contents of the rest of the array pattern into `ts`, use `@`
8   |
9LL |         [h, ref ts @ ..] => foo(c, n - h) + foo(ts, n),
10   |                    +
11
12error: aborting due to previous error
13