]> git.lizzy.rs Git - rust.git/commitdiff
Change comment in parse-fail test
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 11 Mar 2015 18:46:19 +0000 (19:46 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 11 Mar 2015 18:46:19 +0000 (19:46 +0100)
src/test/parse-fail/obsolete-proc.rs

index e440280d7e4b22859c7479d0f56e635607d4ee3f..f1ed0be7640a96b69237b771c609f00f4c540a21 100644 (file)
@@ -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