fork/rust

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

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

master
555 B20 linesraw
1error: unexpected `...`
2  --> $DIR/issue-70388-without-witness.rs:7:13
3   |
4LL |     let Foo(...) = Foo(0);
5   |             ^^^
6   |             |
7   |             not a valid pattern
8   |             help: for a rest pattern, use `..` instead of `...`
9
10error: unexpected `...`
11  --> $DIR/issue-70388-without-witness.rs:8:13
12   |
13LL |     let [_, ..., _] = [0, 1];
14   |             ^^^
15   |             |
16   |             not a valid pattern
17   |             help: for a rest pattern, use `..` instead of `...`
18
19error: aborting due to 2 previous errors
20