1 error: expected identifier, found keyword `fn`
2 --> $DIR/removed-syntax-static-fn.rs:4:12
5 | ^^ expected identifier, found keyword
7 error: expected one of `:`, `;`, or `=`, found `f`
8 --> $DIR/removed-syntax-static-fn.rs:4:15
11 | - while parsing this item list starting here
13 | ^ expected one of `:`, `;`, or `=`
16 | - the item list ends here
18 error: missing type for `static` item
19 --> $DIR/removed-syntax-static-fn.rs:4:12
22 | ^^ help: provide a type for the item: `r#fn: <type>`
24 error: aborting due to 3 previous errors