summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/removed-syntax-with-1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/removed-syntax-with-1.rs')
-rw-r--r--src/test/ui/parser/removed-syntax-with-1.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/parser/removed-syntax-with-1.rs b/src/test/ui/parser/removed-syntax-with-1.rs
deleted file mode 100644
index 2c1e152dc..000000000
--- a/src/test/ui/parser/removed-syntax-with-1.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-fn main() {
- struct S {
- foo: (),
- bar: (),
- }
-
- let a = S { foo: (), bar: () };
- let b = S { foo: () with a, bar: () };
- //~^ ERROR expected one of `,`, `.`, `?`, `}`, or an operator, found `with`
-}