mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-20 12:35:11 +00:00
8 lines
202 B
Rust
8 lines
202 B
Rust
// edition:2018
|
|
|
|
mod t {
|
|
const async unsafe pub fn t() {}
|
|
//~^ ERROR expected one of `extern` or `fn`, found keyword `pub`
|
|
//~| HELP visibility `pub` must come before `const async unsafe`
|
|
}
|