diff options
Diffstat (limited to 'src/test/ui/parser/removed-syntax-static-fn.rs')
-rw-r--r-- | src/test/ui/parser/removed-syntax-static-fn.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/parser/removed-syntax-static-fn.rs b/src/test/ui/parser/removed-syntax-static-fn.rs deleted file mode 100644 index cd643b874..000000000 --- a/src/test/ui/parser/removed-syntax-static-fn.rs +++ /dev/null @@ -1,10 +0,0 @@ -struct S; - -impl S { - static fn f() {} - //~^ ERROR expected identifier, found keyword `fn` - //~| ERROR expected one of `:`, `;`, or `=` - //~| ERROR missing type for `static` item -} - -fn main() {} |