fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
344 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
6LL |     static fn f() {}
7   |     ^^^^^^ unexpected token
8
9error: aborting due to previous error
10