summaryrefslogtreecommitdiffstats
path: root/src/test/ui/pub/pub-ident-fn-with-lifetime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/pub/pub-ident-fn-with-lifetime.rs')
-rw-r--r--src/test/ui/pub/pub-ident-fn-with-lifetime.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/pub/pub-ident-fn-with-lifetime.rs b/src/test/ui/pub/pub-ident-fn-with-lifetime.rs
deleted file mode 100644
index 63e6eca15..000000000
--- a/src/test/ui/pub/pub-ident-fn-with-lifetime.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-// run-rustfix
-
-pub foo<'a>(_s: &'a usize) -> bool { true }
-//~^ ERROR missing `fn` for function definition
-
-fn main() {
- foo(&2);
-}