about summary refs log tree commit diff
path: root/src/test/parse-fail/removed-syntax-static-fn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/parse-fail/removed-syntax-static-fn.rs')
-rw-r--r--src/test/parse-fail/removed-syntax-static-fn.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/parse-fail/removed-syntax-static-fn.rs b/src/test/parse-fail/removed-syntax-static-fn.rs
index b4c25a75c90..3b783aa79e2 100644
--- a/src/test/parse-fail/removed-syntax-static-fn.rs
+++ b/src/test/parse-fail/removed-syntax-static-fn.rs
@@ -15,4 +15,4 @@ struct S;
 impl S {
     static fn f() {}
 }
-//~^^ ERROR expected one of `const`, `default`, `extern`, `fn`, `pub`, `type`, `unsafe`, or `}`
+//~^^ ERROR expected one of `const`, `crate`, `default`, `extern`, `fn`, `pub`, `type`, `unsafe`