diff options
Diffstat (limited to 'tests/ui/parser/removed-syntax-field-semicolon.rs')
-rw-r--r-- | tests/ui/parser/removed-syntax-field-semicolon.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/parser/removed-syntax-field-semicolon.rs b/tests/ui/parser/removed-syntax-field-semicolon.rs new file mode 100644 index 000000000..808f2a5cc --- /dev/null +++ b/tests/ui/parser/removed-syntax-field-semicolon.rs @@ -0,0 +1,6 @@ +struct S { + bar: (); + //~^ ERROR struct fields are separated by `,` +} + +fn main() {} |