summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-89396.stderr
blob: 41ce07050746a7e3bccae92d1f1eac72f4e81e8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: expected one of `=>`, `if`, or `|`, found `=`
  --> $DIR/issue-89396.rs:9:17
   |
LL |         Some(_) = true,
   |                 ^
   |                 |
   |                 expected one of `=>`, `if`, or `|`
   |                 help: use a fat arrow to start a match arm: `=>`

error: expected one of `=>`, `@`, `if`, or `|`, found `->`
  --> $DIR/issue-89396.rs:12:14
   |
LL |         None -> false,
   |              ^^
   |              |
   |              expected one of `=>`, `@`, `if`, or `|`
   |              help: use a fat arrow to start a match arm: `=>`

error: aborting due to 2 previous errors