]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/removed-syntax-static-fn.stderr
Rollup merge of #61423 - davidtwco:correct-symbol-mangling, r=eddyb
[rust.git] / src / test / ui / parser / removed-syntax-static-fn.stderr
1 error: expected one of `async`, `const`, `crate`, `default`, `existential`, `extern`, `fn`, `pub`, `type`, `unsafe`, or `}`, found `static`
2   --> $DIR/removed-syntax-static-fn.rs:6:5
3    |
4 LL | impl S {
5    |         - expected one of 11 possible tokens here
6 LL |     static fn f() {}
7    |     ^^^^^^ unexpected token
8
9 error: aborting due to previous error
10