fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
297 B13 linesraw
1error: missing `fn` for function definition
2  --> $DIR/pub-ident-fn.rs:3:4
3   |
4LL | pub   foo(_s: usize) -> bool { true }
5   |    ^^^
6   |
7help: add `fn` here to parse `foo` as a public function
8   |
9LL | pub fn foo(_s: usize) -> bool { true }
10   |     ^^
11
12error: aborting due to previous error
13