diff options
Diffstat (limited to 'src/test/ui/parser/removed-syntax-with-2.rs')
-rw-r--r-- | src/test/ui/parser/removed-syntax-with-2.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/parser/removed-syntax-with-2.rs b/src/test/ui/parser/removed-syntax-with-2.rs deleted file mode 100644 index 451057c66..000000000 --- a/src/test/ui/parser/removed-syntax-with-2.rs +++ /dev/null @@ -1,11 +0,0 @@ -fn main() { - struct S { - foo: (), - bar: (), - } - - let a = S { foo: (), bar: () }; - let b = S { foo: (), with a }; - //~^ ERROR expected one of `,`, `:`, or `}`, found `a` - //~| ERROR missing field `bar` in initializer of `S` -} |