fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0416]: identifier `foo` is bound more than once in the same pattern 2 --> $DIR/issue-9725.rs:4:18 3 | 4LL | let A { foo, foo } = A { foo: 3 }; 5 | ^^^ used in a pattern more than once 6 7error[E0025]: field `foo` bound multiple times in the pattern 8 --> $DIR/issue-9725.rs:4:18 9 | 10LL | let A { foo, foo } = A { foo: 3 }; 11 | --- ^^^ multiple uses of `foo` in pattern 12 | | 13 | first use of `foo` 14 15error: aborting due to 2 previous errors 16 17Some errors have detailed explanations: E0025, E0416. 18For more information about an error, try `rustc --explain E0025`.