]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/expansion-in-attrs.rs
Rollup merge of #107108 - sulami:issue-83968-doc-alias-typo-suggestions, r=compiler...
[rust.git] / tests / ui / async-await / expansion-in-attrs.rs
1 // check-pass
2 // edition:2018
3
4 macro_rules! with_doc {
5     ($doc: expr) => {
6         #[doc = $doc]
7         async fn f() {}
8     };
9 }
10
11 with_doc!(concat!(""));
12
13 fn main() {}