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 { [) {) }
|
2023-01-25 21:02:19 -06:00
|
|
|
| - - - - missing open `(` for this delimiter
|
|
|
|
| | | |
|
|
|
|
| | | missing open `(` for this delimiter
|
|
|
|
| | unclosed delimiter
|
2020-01-03 07:40:15 -06:00
|
|
|
| unclosed delimiter
|
2022-06-08 13:07:59 -05:00
|
|
|
LL |
|
|
|
|
LL |
|
2019-07-25 17:59:38 -05:00
|
|
|
| ^
|
|
|
|
|
2020-01-08 11:02:10 -06:00
|
|
|
error: this file contains an unclosed delimiter
|
|
|
|
--> $DIR/issue-62973.rs:8:2
|
|
|
|
|
|
|
|
|
LL | fn p() { match s { v, E { [) {) }
|
2023-01-25 21:02:19 -06:00
|
|
|
| - - - - missing open `(` for this delimiter
|
|
|
|
| | | |
|
|
|
|
| | | missing open `(` for this delimiter
|
|
|
|
| | unclosed delimiter
|
2020-01-08 11:02:10 -06:00
|
|
|
| unclosed delimiter
|
2022-06-08 13:07:59 -05:00
|
|
|
LL |
|
|
|
|
LL |
|
2020-01-08 11:02:10 -06:00
|
|
|
| ^
|
|
|
|
|
2022-07-07 16:59:54 -05:00
|
|
|
error: expected one of `,`, `:`, or `}`, found `{`
|
2021-08-27 05:57:28 -05:00
|
|
|
--> $DIR/issue-62973.rs:6:8
|
2019-07-25 17:59:38 -05:00
|
|
|
|
|
|
|
|
LL | fn p() { match s { v, E { [) {) }
|
2022-07-07 17:20:08 -05:00
|
|
|
| ^ - ^ expected one of `,`, `:`, or `}`
|
|
|
|
| | |
|
2019-10-25 20:30:02 -05:00
|
|
|
| | while parsing this struct
|
|
|
|
| unclosed delimiter
|
2022-07-07 17:20:08 -05:00
|
|
|
|
|
|
|
|
help: `}` may belong here
|
|
|
|
|
|
|
|
|
LL | fn p() { match s { v, E} { [) {) }
|
|
|
|
| +
|
|
|
|
help: try naming a field
|
|
|
|
|
|
|
|
|
LL | fn p() { match s { v, E: E { [) {) }
|
|
|
|
| ++
|
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
|
|
|
|
|
|
2021-06-21 21:07:19 -05:00
|
|
|
LL ~ fn p() { match (s { v, E { [) {) }
|
2019-07-25 17:59:38 -05:00
|
|
|
LL |
|
2021-06-21 21:07:19 -05:00
|
|
|
LL ~ )
|
2019-07-25 17:59:38 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
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 { [) {) }
|
2022-01-12 14:43:24 -06:00
|
|
|
| ----- while parsing this `match` expression
|
2022-06-08 13:07:59 -05:00
|
|
|
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: `)`
|
2021-08-27 05:57:28 -05:00
|
|
|
--> $DIR/issue-62973.rs:6:27
|
2019-07-25 17:59:38 -05:00
|
|
|
|
|
|
|
|
LL | fn p() { match s { v, E { [) {) }
|
2021-08-27 05:57:28 -05: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: `)`
|
2021-08-27 05:57:28 -05:00
|
|
|
--> $DIR/issue-62973.rs:6:30
|
2019-07-25 17:59:38 -05:00
|
|
|
|
|
|
|
|
LL | fn p() { match s { v, E { [) {) }
|
2021-08-27 05:57:28 -05: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-08 11:02:10 -06:00
|
|
|
error: aborting due to 7 previous errors
|
2019-07-25 17:59:38 -05:00
|
|
|
|