fork/rust

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

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

master
310 B11 linesraw
1error: expected `fn`, found keyword `pub`
2  --> $DIR/issue-113342.rs:7:12
3   |
4LL | extern "C" pub fn id(x: i32) -> i32 { x }
5   | -----------^^^
6   | |          |
7   | |          expected `fn`
8   | help: visibility `pub` must come before `extern "C"`: `pub extern "C"`
9
10error: aborting due to previous error
11