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

error: aborting due to previous error