diff options
Diffstat (limited to 'src/test/ui/pub/pub-ident-fn-with-lifetime-2.rs')
-rw-r--r-- | src/test/ui/pub/pub-ident-fn-with-lifetime-2.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/pub/pub-ident-fn-with-lifetime-2.rs b/src/test/ui/pub/pub-ident-fn-with-lifetime-2.rs deleted file mode 100644 index 1ee8c84f1..000000000 --- a/src/test/ui/pub/pub-ident-fn-with-lifetime-2.rs +++ /dev/null @@ -1,6 +0,0 @@ -pub bar<'a>(&self, _s: &'a usize) -> bool { true } -//~^ ERROR missing `fn` for method definition - -fn main() { - bar(2); -} |