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