]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/removed-syntax-static-fn.rs
Auto merge of #62816 - estebank:type-ascription-macros, r=petrochenkov
[rust.git] / src / test / ui / parser / removed-syntax-static-fn.rs
1 struct S;
2
3 impl S {
4     static fn f() {}
5     //~^ ERROR expected one of `async`, `const`, `crate`, `default`, `extern`, `fn`, `pub`, `type`,
6 }
7
8 fn main() {}