rust/tests/ui/parser/issues/issue-10636-2.stderr
2023-01-11 09:32:08 +00:00

17 lines
407 B
Plaintext

error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;`
--> $DIR/issue-10636-2.rs:5:15
|
LL | option.map(|some| 42;
| ^ ^ help: `)` may belong here
| |
| unclosed delimiter
error: expected expression, found `)`
--> $DIR/issue-10636-2.rs:8:1
|
LL | }
| ^ expected expression
error: aborting due to 2 previous errors