2018-10-20 15:36:17 -05:00
|
|
|
error: expected one of `)`, `,`, or `@`, found `[`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/pat-lt-bracket-6.rs:4:19
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
|
|
|
LL | let Test(&desc[..]) = x; //~ ERROR: expected one of `)`, `,`, or `@`, found `[`
|
|
|
|
| ^ expected one of `)`, `,`, or `@` here
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|