]> git.lizzy.rs Git - rust.git/blob - tests/ui/structs/struct-fields-dupe.rs
internally change regions to be covariant
[rust.git] / tests / ui / structs / struct-fields-dupe.rs
1 struct BuildData {
2     foo: isize,
3 }
4
5 fn main() {
6     let foo = BuildData {
7         foo: 0,
8         foo: 0 //~ ERROR field `foo` specified more than once
9     };
10 }