Skip to content

Commit db726fa

Browse files
Change comment in parse-fail test
1 parent a07945d commit db726fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/parse-fail/obsolete-proc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
// Test that we generate obsolete syntax errors around usages of `proc`.
1212

13-
fn foo(p: proc()) { } //~ ERROR: the `proc` type isn't used for the moment
13+
fn foo(p: proc()) { } //~ ERROR `proc` is a reserved keyword
1414

15-
fn bar() { proc() 1; } //~ ERROR: `proc` expression isn't used for the moment
15+
fn bar() { proc() 1; }
1616

1717
fn main() { }

0 commit comments

Comments
 (0)