1 error[E0416]: identifier `foo` is bound more than once in the same pattern
2 --> $DIR/issue-9725.rs:14:18
4 LL | let A { foo, foo } = A { foo: 3 };
5 | ^^^ used in a pattern more than once
7 error[E0025]: field `foo` bound multiple times in the pattern
8 --> $DIR/issue-9725.rs:14:18
10 LL | let A { foo, foo } = A { foo: 3 };
11 | --- ^^^ multiple uses of `foo` in pattern
15 error: aborting due to 2 previous errors
17 Some errors occurred: E0025, E0416.
18 For more information about an error, try `rustc --explain E0025`.