summaryrefslogtreecommitdiffstats
path: root/src/test/ui/pub/pub-ident-fn-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/pub/pub-ident-fn-2.stderr')
-rw-r--r--src/test/ui/pub/pub-ident-fn-2.stderr13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/pub/pub-ident-fn-2.stderr b/src/test/ui/pub/pub-ident-fn-2.stderr
deleted file mode 100644
index b5b667b41..000000000
--- a/src/test/ui/pub/pub-ident-fn-2.stderr
+++ /dev/null
@@ -1,13 +0,0 @@
-error: missing `fn` for function definition
- --> $DIR/pub-ident-fn-2.rs:3:4
- |
-LL | pub foo(_s: usize) { bar() }
- | ^
- |
-help: add `fn` here to parse `foo` as a public function
- |
-LL | pub fn foo(_s: usize) { bar() }
- | ++
-
-error: aborting due to previous error
-