about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2015-03-11 19:46:19 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2015-03-11 19:46:19 +0100
commitdb726faf324c9258c3e93f15d41ada4f9d008f66 (patch)
tree561874c98ace64efed690a8f234ce8b22476fa52
parenta07945d663f4d5767314454bb8265723178bf26c (diff)
downloadrust-db726faf324c9258c3e93f15d41ada4f9d008f66.tar.gz
rust-db726faf324c9258c3e93f15d41ada4f9d008f66.zip
Change comment in parse-fail test
-rw-r--r--src/test/parse-fail/obsolete-proc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/parse-fail/obsolete-proc.rs b/src/test/parse-fail/obsolete-proc.rs
index e440280d7e4..f1ed0be7640 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: the `proc` type isn't used for the moment
+fn foo(p: proc()) { } //~ ERROR `proc` is a reserved keyword
 
-fn bar() { proc() 1; } //~ ERROR: `proc` expression isn't used for the moment
+fn bar() { proc() 1; }
 
 fn main() { }
\ No newline at end of file