]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-76437-async.rs
Rollup merge of #92399 - Veeupup:fix_vec_typo, r=Dylan-DPC
[rust.git] / src / test / ui / parser / issues / issue-76437-async.rs
1 // edition:2018
2
3 mod t {
4     async pub fn t() {}
5     //~^ ERROR expected one of `extern`, `fn`, or `unsafe`, found keyword `pub`
6     //~| HELP visibility `pub` must come before `async`
7 }