Remove proc keyword

This commit is contained in:
Guillaume Gomez 2015-03-08 00:58:45 +01:00
parent d30609ffd7
commit 4e877adddf
4 changed files with 10 additions and 37 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: 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() { }