From 4e877adddf7b2f7d9093bf26cd8649f30c04b834 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 8 Mar 2015 00:58:45 +0100 Subject: Remove proc keyword --- src/test/parse-fail/obsolete-proc.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test') diff --git a/src/test/parse-fail/obsolete-proc.rs b/src/test/parse-fail/obsolete-proc.rs index 5208cdb6ad2..e440280d7e4 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: 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() { } \ No newline at end of file -- cgit 1.4.1-3-g733a5 From db726faf324c9258c3e93f15d41ada4f9d008f66 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 11 Mar 2015 19:46:19 +0100 Subject: Change comment in parse-fail test --- src/test/parse-fail/obsolete-proc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test') 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 -- cgit 1.4.1-3-g733a5