diff options
Diffstat (limited to 'src/test/ui/parser/removed-syntax-field-let-2.rs')
-rw-r--r-- | src/test/ui/parser/removed-syntax-field-let-2.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/parser/removed-syntax-field-let-2.rs b/src/test/ui/parser/removed-syntax-field-let-2.rs deleted file mode 100644 index 7ff91b476..000000000 --- a/src/test/ui/parser/removed-syntax-field-let-2.rs +++ /dev/null @@ -1,12 +0,0 @@ -struct Foo { - let x: i32, - //~^ ERROR expected identifier, found keyword - let y: i32, - //~^ ERROR expected identifier, found keyword -} - -fn main() { - let _ = Foo { - //~^ ERROR missing fields `x` and `y` in initializer of `Foo` - }; -} |