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