]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/await-keyword/post_expansion_error.rs
Rollup merge of #107114 - Erk-:add-absolute-note-to-path-join, r=m-ou-se
[rust.git] / tests / ui / async-await / await-keyword / post_expansion_error.rs
1 // edition:2018
2
3 macro_rules! r#await {
4     () => { println!("Hello, world!") }
5 }
6
7 fn main() {
8     await!()
9     //~^ ERROR expected expression, found `)`
10 }