fork/rust

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

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

master
366 B11 linesraw
1error: expected one of `async`, `extern`, `fn`, or `unsafe`, found keyword `pub`
2  --> $DIR/issue-76437-const.rs:4:11
3   |
4LL |     const pub fn t() {}
5   |     ------^^^
6   |     |     |
7   |     |     expected one of `async`, `extern`, `fn`, or `unsafe`
8   |     help: visibility `pub` must come before `const`: `pub const`
9
10error: aborting due to previous error
11