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).
This commit is contained in:
bors 2015-03-11 23:51:30 +00:00
commit 425297a930
4 changed files with 8 additions and 76 deletions

View file

@ -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() { }