]> git.proxmox.com Git - rustc.git/blob - src/test/ui/error-codes/E0025.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / error-codes / E0025.rs
1 struct Foo {
2 a: u8,
3 b: u8,
4 }
5
6 fn main() {
7 let x = Foo { a:1, b:2 };
8 let Foo { a: x, a: y, b: 0 } = x;
9 //~^ ERROR field `a` bound multiple times in the pattern
10 }