about summary refs log tree commit diff
path: root/src/test/compile-fail/removed-syntax-with-1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/removed-syntax-with-1.rs')
-rw-r--r--src/test/compile-fail/removed-syntax-with-1.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/removed-syntax-with-1.rs b/src/test/compile-fail/removed-syntax-with-1.rs
index a0a332af6f6..fd8cdb7b10e 100644
--- a/src/test/compile-fail/removed-syntax-with-1.rs
+++ b/src/test/compile-fail/removed-syntax-with-1.rs
@@ -16,5 +16,5 @@ fn removed_with() {
 
     let a = S { foo: (), bar: () };
     let b = S { foo: () with a };
-    //~^ ERROR expected one of `,`, `}` but found `with`
+    //~^ ERROR expected one of `,`, `}`, found `with`
 }