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