mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
15 lines
266 B
Rust
15 lines
266 B
Rust
//@ edition:2018
|
|
//@ aux-build:edition-kw-macro-2018.rs
|
|
|
|
#[macro_use]
|
|
extern crate edition_kw_macro_2018;
|
|
|
|
mod one_async {
|
|
produces_async! {} //~ ERROR expected identifier, found keyword `async`
|
|
}
|
|
mod two_async {
|
|
produces_async_raw! {} // OK
|
|
}
|
|
|
|
fn main() {}
|