fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
569 B18 linesraw
1error: expected one of `)`, `,`, `@`, or `|`, found `[`
2  --> $DIR/pat-lt-bracket-6.rs:5:19
3   |
4LL |     let Test(&desc[..]) = x;
5   |                   ^
6   |                   |
7   |                   expected one of `)`, `,`, `@`, or `|`
8   |                   help: missing `,`
9
10error[E0308]: mismatched types
11  --> $DIR/pat-lt-bracket-6.rs:9:30
12   |
13LL | const RECOVERY_WITNESS: () = 0;
14   |                              ^ expected `()`, found integer
15
16error: aborting due to 2 previous errors
17
18For more information about this error, try `rustc --explain E0308`.