diff options
Diffstat (limited to 'src/test/ui/error-codes/E0025.rs')
-rw-r--r-- | src/test/ui/error-codes/E0025.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/error-codes/E0025.rs b/src/test/ui/error-codes/E0025.rs deleted file mode 100644 index 549269a75..000000000 --- a/src/test/ui/error-codes/E0025.rs +++ /dev/null @@ -1,10 +0,0 @@ -struct Foo { - a: u8, - b: u8, -} - -fn main() { - let x = Foo { a:1, b:2 }; - let Foo { a: x, a: y, b: 0 } = x; - //~^ ERROR field `a` bound multiple times in the pattern -} |