]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-89396.stderr
Rollup merge of #91630 - GuillaumeGomez:missing-whitespace, r=notriddle
[rust.git] / src / test / ui / parser / issues / issue-89396.stderr
1 error: expected one of `=>`, `if`, or `|`, found `=`
2   --> $DIR/issue-89396.rs:9:17
3    |
4 LL |         Some(_) = true,
5    |                 ^
6    |                 |
7    |                 expected one of `=>`, `if`, or `|`
8    |                 help: try using a fat arrow here: `=>`
9
10 error: expected one of `=>`, `@`, `if`, or `|`, found `->`
11   --> $DIR/issue-89396.rs:12:14
12    |
13 LL |         None -> false,
14    |              ^^
15    |              |
16    |              expected one of `=>`, `@`, `if`, or `|`
17    |              help: try using a fat arrow here: `=>`
18
19 error: aborting due to 2 previous errors
20