fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
222 B12 linesraw
1// Issue #50636
2// run-rustfix
3
4pub struct S {
5    pub foo: u32, //~ expected `,`, or `}`, found keyword `pub`
6    //     ~^ HELP try adding a comma: ','
7    pub bar: u32
8}
9
10fn main() {
11    let _ = S { foo: 5, bar: 6 };
12}