rust/tests/ui/editions/edition-keywords-2015-2018-expansion.rs

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

15 lines
256 B
Rust
Raw Normal View History

// edition:2015
2018-04-23 17:50:28 -05:00
// 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
2018-04-23 17:50:28 -05:00
}
mod two_async {
produces_async_raw! {} // OK
}
fn main() {}