1 error: expected identifier, found `0`
2 --> $DIR/struct-field-numeric-shorthand.rs:4:19
4 LL | let _ = Rgb { 0, 1, 2 };
5 | --- ^ expected identifier
7 | while parsing this struct
9 error: expected identifier, found `1`
10 --> $DIR/struct-field-numeric-shorthand.rs:4:22
12 LL | let _ = Rgb { 0, 1, 2 };
13 | --- ^ expected identifier
15 | while parsing this struct
17 error: expected identifier, found `2`
18 --> $DIR/struct-field-numeric-shorthand.rs:4:25
20 LL | let _ = Rgb { 0, 1, 2 };
21 | --- ^ expected identifier
23 | while parsing this struct
25 error[E0063]: missing fields `0`, `1` and `2` in initializer of `Rgb`
26 --> $DIR/struct-field-numeric-shorthand.rs:4:13
28 LL | let _ = Rgb { 0, 1, 2 };
29 | ^^^ missing `0`, `1` and `2`
31 error: aborting due to 4 previous errors
33 For more information about this error, try `rustc --explain E0063`.