fork/rust

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

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

master
224 B15 linesraw
1// run-rustfix
2
3pub struct Foo {
4    pub first: bool,
5    pub second: u8,
6}
7
8fn main() {
9    let _ = Foo {
10        //~^ ERROR missing field
11        first: true,
12        second: 25
13        //~^ ERROR expected one of
14    };
15}