about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-03-11 23:51:30 +0000
committerbors <bors@rust-lang.org>2015-03-11 23:51:30 +0000
commit425297a93035bc89663ff5f83d229f6c19341ffb (patch)
tree5e2406b181498f03ec352b883f4be61862114f00 /src/test
parentae4812b6136797bbe3daec7fb8c6673a87998b37 (diff)
parentdb726faf324c9258c3e93f15d41ada4f9d008f66 (diff)
downloadrust-425297a93035bc89663ff5f83d229f6c19341ffb.tar.gz
rust-425297a93035bc89663ff5f83d229f6c19341ffb.zip
Auto merge of #23156 - GuillaumeGomez:remove-proc, r=alexcrichton
This is the implementation of the [RFC 584](https://github.com/rust-lang/rfcs/pull/584).
Diffstat (limited to 'src/test')
-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..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 obsolete syntax: the `proc` type
+fn foo(p: proc()) { } //~ ERROR `proc` is a reserved keyword
 
-fn bar() { proc() 1; } //~ ERROR obsolete syntax: `proc` expression
+fn bar() { proc() 1; }
 
-fn main() { }
+fn main() { }
\ No newline at end of file