2019-07-14 01:05:52 +00:00
|
|
|
error: expected one of `)`, `,`, `@`, or `|`, found `[`
|
2019-07-24 02:30:37 +02:00
|
|
|
--> $DIR/pat-lt-bracket-6.rs:5:19
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | let Test(&desc[..]) = x;
|
2019-11-24 22:33:00 +01:00
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| expected one of `)`, `,`, `@`, or `|`
|
|
|
|
| help: missing `,`
|
2018-10-20 23:36:17 +03:00
|
|
|
|
2019-07-24 02:30:37 +02:00
|
|
|
error[E0308]: mismatched types
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/pat-lt-bracket-6.rs:9:30
|
2019-07-24 02:30:37 +02:00
|
|
|
|
|
|
|
|
LL | const RECOVERY_WITNESS: () = 0;
|
2019-11-15 09:37:01 -08:00
|
|
|
| ^ expected `()`, found integer
|
2019-07-24 02:30:37 +02:00
|
|
|
|
2019-12-30 01:23:42 +01:00
|
|
|
error: aborting due to 2 previous errors
|
2018-10-20 23:36:17 +03:00
|
|
|
|
2019-12-30 01:23:42 +01:00
|
|
|
For more information about this error, try `rustc --explain E0308`.
|