fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0124]: field `bar` is already declared 2 --> $DIR/pub-struct-field.rs:6:5 3 | 4LL | bar: u8, 5 | ------- `bar` first declared here 6LL | pub bar: u8, 7 | ^^^^^^^^^^^ field already declared 8 9error[E0124]: field `bar` is already declared 10 --> $DIR/pub-struct-field.rs:7:5 11 | 12LL | bar: u8, 13 | ------- `bar` first declared here 14LL | pub bar: u8, 15LL | pub(crate) bar: u8, 16 | ^^^^^^^^^^^^^^^^^^ field already declared 17 18error: aborting due to 2 previous errors 19 20For more information about this error, try `rustc --explain E0124`.