]> git.lizzy.rs Git - rust.git/blob - src/test/ui/structs/struct-fields-dupe.stderr
Rollup merge of #95534 - jyn514:std-mem-copy, r=joshtriplett
[rust.git] / src / test / ui / structs / struct-fields-dupe.stderr
1 error[E0062]: field `foo` specified more than once
2   --> $DIR/struct-fields-dupe.rs:8:9
3    |
4 LL |         foo: 0,
5    |         ------ first use of `foo`
6 LL |         foo: 0
7    |         ^^^ used more than once
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0062`.