summary refs log tree commit diff
path: root/src/test/ui/parser/removed-syntax-static-fn.stderr
blob: 84e0432c48c0c277e95ed354d5d27440fc469e09 (plain)
1
2
3
4
5
6
7
8
9
10
error: expected one of `async`, `const`, `crate`, `default`, `existential`, `extern`, `fn`, `pub`, `type`, `unsafe`, or `}`, found `static`
  --> $DIR/removed-syntax-static-fn.rs:6:5
   |
LL | impl S {
   |         - expected one of 11 possible tokens here
LL |     static fn f() {}
   |     ^^^^^^ unexpected token

error: aborting due to previous error