summary refs log tree commit diff
path: root/src/test/ui/missing/missing-comma-in-match.stderr
blob: 779359341073ea7f54141f9521a7e81a917179e0 (plain)
1
2
3
4
5
6
7
8
9
10
error: expected one of `,`, `.`, `?`, `}`, or an operator, found `=>`
  --> $DIR/missing-comma-in-match.rs:16:18
   |
LL |         &None => 1
   |                   - help: missing a comma here to end this `match` arm
LL |         &Some(2) => { 3 }
   |                  ^^ expected one of `,`, `.`, `?`, `}`, or an operator here

error: aborting due to previous error