fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
364 B10 linesraw
1error: expected one of `,`, `.`, `?`, `}`, or an operator, found `=>`
2  --> $DIR/missing-comma-in-match.rs:6:18
3   |
4LL |         &None => 1
5   |                   - help: missing a comma here to end this `match` arm
6LL |         &Some(2) => { 3 }
7   |                  ^^ expected one of `,`, `.`, `?`, `}`, or an operator
8
9error: aborting due to previous error
10