Skip to content

Commit

Permalink
Modified another test case to expect a closing delimiter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Crazycolorz5 committed Jun 1, 2018
1 parent c1df62a commit a771580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/ui/token/issue-10636-2.stderr
Expand Up @@ -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
Expand Down

0 comments on commit a771580

Please sign in to comment.