fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
280 B10 linesraw
1error: expected one of `!` or `::`, found `foo`
2  --> $DIR/fn-defined-using-function.rs:6:10
3   |
4LL | function foo() {}
5   | -------- ^^^ expected one of `!` or `::`
6   | |
7   | help: write `fn` instead of `function` to declare a function
8
9error: aborting due to previous error
10