]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-10636-2.stderr
Rollup merge of #92399 - Veeupup:fix_vec_typo, r=Dylan-DPC
[rust.git] / src / test / ui / parser / issues / issue-10636-2.stderr
1 error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;`
2   --> $DIR/issue-10636-2.rs:5:15
3    |
4 LL |     option.map(|some| 42;
5    |               ^         ^ help: `)` may belong here
6    |               |
7    |               unclosed delimiter
8
9 error: expected expression, found `)`
10   --> $DIR/issue-10636-2.rs:8:1
11    |
12 LL | }
13    | ^ expected expression
14
15 error: aborting due to 2 previous errors
16