diff options
Diffstat (limited to 'src/test/ui/structs/struct-fields-shorthand-unresolved.rs')
-rw-r--r-- | src/test/ui/structs/struct-fields-shorthand-unresolved.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/structs/struct-fields-shorthand-unresolved.rs b/src/test/ui/structs/struct-fields-shorthand-unresolved.rs deleted file mode 100644 index caad14916..000000000 --- a/src/test/ui/structs/struct-fields-shorthand-unresolved.rs +++ /dev/null @@ -1,12 +0,0 @@ -struct Foo { - x: i32, - y: i32 -} - -fn main() { - let x = 0; - let foo = Foo { - x, - y //~ ERROR cannot find value `y` in this scope - }; -} |