]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/issue-53481.rs
Rollup merge of #61273 - RalfJung:maybe-uninit, r=Centril
[rust.git] / src / test / ui / proc-macro / issue-53481.rs
1 // compile-pass
2 // aux-build:test-macros.rs
3
4 #[macro_use]
5 extern crate test_macros;
6
7 mod m1 {
8     use m2::Empty;
9
10     #[derive(Empty)]
11     struct A {}
12 }
13
14 mod m2 {
15     pub type Empty = u8;
16
17     #[derive(Empty)]
18     #[empty_helper]
19     struct B {}
20 }
21
22 fn main() {}