We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a07945d commit db726faCopy full SHA for db726fa
src/test/parse-fail/obsolete-proc.rs
@@ -10,8 +10,8 @@
10
11
// Test that we generate obsolete syntax errors around usages of `proc`.
12
13
-fn foo(p: proc()) { } //~ ERROR: the `proc` type isn't used for the moment
+fn foo(p: proc()) { } //~ ERROR `proc` is a reserved keyword
14
15
-fn bar() { proc() 1; } //~ ERROR: `proc` expression isn't used for the moment
+fn bar() { proc() 1; }
16
17
fn main() { }
0 commit comments