]> git.lizzy.rs Git - rust.git/blob - src/test/ui/missing/missing-comma-in-match.stderr
Auto merge of #97657 - Urgau:check-cfg-many-mut, r=oli-obk
[rust.git] / src / test / ui / missing / missing-comma-in-match.stderr
1 error: expected one of `,`, `.`, `?`, `}`, or an operator, found `=>`
2   --> $DIR/missing-comma-in-match.rs:6:18
3    |
4 LL |         &None => 1
5    |                   - help: missing a comma here to end this `match` arm
6 LL |         &Some(2) => { 3 }
7    |                  ^^ expected one of `,`, `.`, `?`, `}`, or an operator
8
9 error: aborting due to previous error
10