rust/tests/ui/parser/issues/issue-76437-async.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
187 B
Rust
Raw Normal View History

// edition:2018
mod t {
async pub fn t() {}
//~^ ERROR expected one of `extern`, `fn`, or `unsafe`, found keyword `pub`
2020-09-17 11:56:04 -05:00
//~| HELP visibility `pub` must come before `async`
}