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