2020-01-03 07:40:15 -06:00
|
|
|
error: this file contains an unclosed delimiter
|
2019-07-25 17:59:38 -05:00
|
|
|
--> $DIR/issue-62973.rs:8:2
|
|
|
|
|
|
|
|
|
LL | fn p() { match s { v, E { [) {) }
|
2020-01-03 07:40:15 -06:00
|
|
|
| - - unclosed delimiter
|
2019-07-25 17:59:38 -05:00
|
|
|
| |
|
2020-01-03 07:40:15 -06:00
|
|
|
| unclosed delimiter
|
2019-07-25 17:59:38 -05:00
|
|
|
LL |
|
|
|
|
LL |
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: expected one of `,` or `}`, found `{`
|
|
|
|
--> $DIR/issue-62973.rs:6:25
|
|
|
|
|
|
|
|
|
LL | fn p() { match s { v, E { [) {) }
|
2019-10-28 13:08:53 -05:00
|
|
|
| - - -^ expected one of `,` or `}`
|
2019-10-25 20:30:02 -05:00
|
|
|
| | | |
|
|
|
|
| | | help: `}` may belong here
|
|
|
|
| | while parsing this struct
|
|
|
|
| unclosed delimiter
|
2019-07-25 17:59:38 -05:00
|
|
|
|
|
|
|
error: struct literals are not allowed here
|
|
|
|
--> $DIR/issue-62973.rs:6:16
|
|
|
|
|
|
|
|
|
LL | fn p() { match s { v, E { [) {) }
|
|
|
|
| ________________^
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
| |_^
|
2019-10-24 00:20:58 -05:00
|
|
|
|
|
2019-07-25 17:59:38 -05:00
|
|
|
help: surround the struct literal with parentheses
|
|
|
|
|
|
|
|
|
LL | fn p() { match (s { v, E { [) {) }
|
|
|
|
LL |
|
|
|
|
LL | )
|
|
|
|
|
|
|
|
|
|
|
|
|
error: expected one of `.`, `?`, `{`, or an operator, found `}`
|
2019-11-03 05:58:01 -06:00
|
|
|
--> $DIR/issue-62973.rs:8:2
|
2019-07-25 17:59:38 -05:00
|
|
|
|
|
|
|
|
LL | fn p() { match s { v, E { [) {) }
|
|
|
|
| ----- while parsing this match expression
|
|
|
|
LL |
|
|
|
|
LL |
|
2019-10-28 13:08:53 -05:00
|
|
|
| ^ expected one of `.`, `?`, `{`, or an operator
|
2019-07-25 17:59:38 -05:00
|
|
|
|
2020-01-03 07:40:15 -06:00
|
|
|
error: mismatched closing delimiter: `)`
|
2019-07-25 17:59:38 -05:00
|
|
|
--> $DIR/issue-62973.rs:6:28
|
|
|
|
|
|
|
|
|
LL | fn p() { match s { v, E { [) {) }
|
2020-01-03 07:40:15 -06:00
|
|
|
| -^ mismatched closing delimiter
|
2019-07-25 17:59:38 -05:00
|
|
|
| |
|
2020-01-03 07:40:15 -06:00
|
|
|
| unclosed delimiter
|
2019-07-25 17:59:38 -05:00
|
|
|
|
2020-01-03 07:40:15 -06:00
|
|
|
error: mismatched closing delimiter: `)`
|
2019-07-25 17:59:38 -05:00
|
|
|
--> $DIR/issue-62973.rs:6:31
|
|
|
|
|
|
|
|
|
LL | fn p() { match s { v, E { [) {) }
|
2020-01-03 07:40:15 -06:00
|
|
|
| -^ mismatched closing delimiter
|
2019-07-25 17:59:38 -05:00
|
|
|
| |
|
2020-01-03 07:40:15 -06:00
|
|
|
| unclosed delimiter
|
2019-07-25 17:59:38 -05:00
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|