summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-76437-async.rs
blob: 84ee3dd21123c567b1bf9bbf433be1aa2c584d9d (plain)
1
2
3
4
5
6
7
// edition:2018

mod t {
    async pub fn t() {}
    //~^ ERROR expected one of `extern`, `fn`, or `unsafe`, found keyword `pub`
    //~| HELP visibility `pub` must come before `async`
}