f384cdcbec
confusing diagnostics, issue #72253 add test for confusing error message, issue-72253 remove is_multiline check, refactor to self.expect(&token:Semi) update issue-72253 tests return Ok
11 lines
287 B
Plaintext
11 lines
287 B
Plaintext
error: expected one of `.`, `;`, `?`, or an operator, found `,`
|
|
--> $DIR/issue-72253.rs:4:9
|
|
|
|
|
LL | .arg("1")
|
|
| - expected one of `.`, `;`, `?`, or an operator
|
|
LL | ,arg("2")
|
|
| ^ unexpected token
|
|
|
|
error: aborting due to previous error
|
|
|