]> git.lizzy.rs Git - rust.git/blob - tests/ui/deriving/deriving-in-macro.rs
Rollup merge of #106978 - mejrs:mir_build3, r=davidtwco
[rust.git] / tests / ui / deriving / deriving-in-macro.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3 #![allow(non_camel_case_types)]
4
5 macro_rules! define_vec {
6     () => (
7         mod foo {
8             #[derive(PartialEq)]
9             pub struct bar;
10         }
11     )
12 }
13
14 define_vec![];
15
16 pub fn main() {}