fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
349 B10 linesraw
1error: expected one of `async`, `const`, `crate`, `default`, `extern`, `fn`, `pub`, `type`, `unsafe`, or `}`, found keyword `static`
2  --> $DIR/removed-syntax-static-fn.rs:4:5
3   |
4LL | impl S {
5   |         - expected one of 10 possible tokens here
6LL |     static fn f() {}
7   |     ^^^^^^ unexpected token
8
9error: aborting due to previous error
10