about summary refs log tree commit diff
path: root/src/test/parse-fail
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/parse-fail')
-rw-r--r--src/test/parse-fail/obsolete-proc.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/parse-fail/obsolete-proc.rs b/src/test/parse-fail/obsolete-proc.rs
index 5208cdb6ad2..e440280d7e4 100644
--- a/src/test/parse-fail/obsolete-proc.rs
+++ b/src/test/parse-fail/obsolete-proc.rs
@@ -10,8 +10,8 @@
 
 // Test that we generate obsolete syntax errors around usages of `proc`.
 
-fn foo(p: proc()) { } //~ ERROR obsolete syntax: the `proc` type
+fn foo(p: proc()) { } //~ ERROR: the `proc` type isn't used for the moment
 
-fn bar() { proc() 1; } //~ ERROR obsolete syntax: `proc` expression
+fn bar() { proc() 1; } //~ ERROR: `proc` expression isn't used for the moment
 
-fn main() { }
+fn main() { }
\ No newline at end of file