7 lines
133 B
Rust
7 lines
133 B
Rust
|
// edition:2018
|
||
|
|
||
|
mod t {
|
||
|
const async unsafe pub fn t() {}
|
||
|
//~^ ERROR expected one of `extern` or `fn`, found keyword `pub`
|
||
|
}
|