Skip to content

Commit a771580

Browse files
committed
Modified another test case to expect a closing delimiter.
1 parent c1df62a commit a771580

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/ui/token/issue-10636-2.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ note: unclosed delimiter
1010
LL | option.map(|some| 42;
1111
| ^
1212

13-
error: expected one of `,`, `.`, `?`, or an operator, found `;`
13+
error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;`
1414
--> $DIR/issue-10636-2.rs:15:25
1515
|
1616
LL | option.map(|some| 42;
17-
| ^ expected one of `,`, `.`, `?`, or an operator here
17+
| ^ expected one of `)`, `,`, `.`, `?`, or an operator here
1818

1919
error: expected expression, found `)`
2020
--> $DIR/issue-10636-2.rs:18:1

0 commit comments

Comments
 (0)