]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/issue-22463.rs
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / ui / macros / issue-22463.rs
1 // run-pass
2 macro_rules! items {
3     () => {
4         type A = ();
5         fn a() {}
6     }
7 }
8
9 trait Foo {
10     type A;
11     fn a();
12 }
13
14 impl Foo for () {
15     items!();
16 }
17
18 fn main() {
19
20 }