about summary refs log tree commit diff
path: root/src/test/ui/structs/struct-fields-shorthand.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/structs/struct-fields-shorthand.rs')
-rw-r--r--src/test/ui/structs/struct-fields-shorthand.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/structs/struct-fields-shorthand.rs b/src/test/ui/structs/struct-fields-shorthand.rs
deleted file mode 100644
index 1bdcc8315c1..00000000000
--- a/src/test/ui/structs/struct-fields-shorthand.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-struct Foo {
-    x: i32,
-    y: i32
-}
-
-fn main() {
-    let (x, y, z) = (0, 1, 2);
-    let foo = Foo {
-        x, y, z //~ ERROR struct `Foo` has no field named `z`
-    };
-}