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