Modified another test case to expect a closing delimiter.
This commit is contained in:
parent
c1df62a760
commit
a771580f67
1 changed files with 2 additions and 2 deletions
|
|
@ -10,11 +10,11 @@ note: unclosed delimiter
|
|||
LL | option.map(|some| 42;
|
||||
| ^
|
||||
|
||||
error: expected one of `,`, `.`, `?`, or an operator, found `;`
|
||||
error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;`
|
||||
--> $DIR/issue-10636-2.rs:15:25
|
||||
|
|
||||
LL | option.map(|some| 42;
|
||||
| ^ expected one of `,`, `.`, `?`, or an operator here
|
||||
| ^ expected one of `)`, `,`, `.`, `?`, or an operator here
|
||||
|
||||
error: expected expression, found `)`
|
||||
--> $DIR/issue-10636-2.rs:18:1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue