mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
19 lines
569 B
Plaintext
19 lines
569 B
Plaintext
error: expected one of `)`, `,`, `@`, or `|`, found `[`
|
|
--> $DIR/pat-lt-bracket-6.rs:5:19
|
|
|
|
|
LL | let Test(&desc[..]) = x;
|
|
| ^
|
|
| |
|
|
| expected one of `)`, `,`, `@`, or `|`
|
|
| help: missing `,`
|
|
|
|
error[E0308]: mismatched types
|
|
--> $DIR/pat-lt-bracket-6.rs:9:30
|
|
|
|
|
LL | const RECOVERY_WITNESS: () = 0;
|
|
| ^ expected `()`, found integer
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|