summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/removed-syntax-static-fn.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/removed-syntax-static-fn.stderr')
-rw-r--r--src/test/ui/parser/removed-syntax-static-fn.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/parser/removed-syntax-static-fn.stderr b/src/test/ui/parser/removed-syntax-static-fn.stderr
index 04e34dc16..52e065894 100644
--- a/src/test/ui/parser/removed-syntax-static-fn.stderr
+++ b/src/test/ui/parser/removed-syntax-static-fn.stderr
@@ -16,10 +16,10 @@ LL | }
| - the item list ends here
error: missing type for `static` item
- --> $DIR/removed-syntax-static-fn.rs:4:12
+ --> $DIR/removed-syntax-static-fn.rs:4:14
|
LL | static fn f() {}
- | ^^ help: provide a type for the item: `r#fn: <type>`
+ | ^ help: provide a type for the item: `: <type>`
error: aborting due to 3 previous errors