about summary refs log tree commit diff
path: root/src/test/ui/parser/removed-syntax-static-fn.stderr
blob: dd3b0e00101a4adc8750f713813fba10caa5cfad (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:17:5
   |
LL | impl S {
   |         - expected one of 11 possible tokens here
LL |     static fn f() {}
   |     ^^^^^^ unexpected token

error: aborting due to previous error