rust/src/test/ui/editions/edition-keywords-2015-2018-expansion.rs
Vadim Petrochenkov fff01ccfa8 Do not abort compilation if expansion produces errors
Fix a number of uncovered deficiencies in diagnostics
2018-12-27 15:51:36 +03:00

15 lines
265 B
Rust

// edition:2015
// aux-build:edition-kw-macro-2018.rs
#[macro_use]
extern crate edition_kw_macro_2018;
mod one_async {
produces_async! {} //~ ERROR expected identifier, found reserved keyword
}
mod two_async {
produces_async_raw! {} // OK
}
fn main() {}