17 lines
407 B
Plaintext
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
|
|
|