fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: missing `fn` for function definition 2 --> $DIR/pub-ident-fn.rs:3:4 3 | 4LL | pub foo(_s: usize) -> bool { true } 5 | ^^^ 6help: add `fn` here to parse `foo` as a public function 7 | 8LL | pub fn foo(_s: usize) -> bool { true } 9 | ^^ 10 11error: aborting due to previous error 12