1 error[E0124]: field `bar` is already declared
2 --> $DIR/pub-struct-field.rs:16:5
5 | ------- `bar` first declared here
7 | ^^^^^^^^^^^ field already declared
9 error[E0124]: field `bar` is already declared
10 --> $DIR/pub-struct-field.rs:17:5
13 | ------- `bar` first declared here
15 17 | pub(crate) bar: u8,
16 | ^^^^^^^^^^^^^^^^^^ field already declared
18 error: aborting due to previous error(s)