summaryrefslogtreecommitdiffstats
path: root/tests/ui/editions/edition-keywords-2015-2018-expansion.rs
blob: 9f34a3887b7f1dcc4102a7d8f9272cabaacbad19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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 keyword
}
mod two_async {
    produces_async_raw! {} // OK
}

fn main() {}