]> git.lizzy.rs Git - rust.git/blob - src/test/ui/editions/edition-keywords-2018-2018-expansion.rs
Rollup merge of #85534 - csmoe:demagnle-assert, r=michaelwoerister
[rust.git] / src / test / ui / editions / edition-keywords-2018-2018-expansion.rs
1 // edition:2018
2 // aux-build:edition-kw-macro-2018.rs
3
4 #[macro_use]
5 extern crate edition_kw_macro_2018;
6
7 mod one_async {
8     produces_async! {} //~ ERROR expected identifier, found keyword `async`
9 }
10 mod two_async {
11     produces_async_raw! {} // OK
12 }
13
14 fn main() {}