]> git.lizzy.rs Git - rust.git/blob - tests/ui/structs/struct-fields-decl-dupe.rs
Rollup merge of #106846 - WaffleLapkin:pico_parse_ref, r=TaKO8Ki
[rust.git] / tests / ui / structs / struct-fields-decl-dupe.rs
1 struct BuildData {
2     foo: isize,
3     foo: isize,
4     //~^ ERROR field `foo` is already declared [E0124]
5 }
6
7 fn main() {
8 }