1 2 3 4 5 6 7 8 9 10 11 12 13
// run-pass #![allow(dead_code)] pub struct Foo; macro_rules! reexport { () => { use Foo as Bar; } } reexport!(); fn main() { fn f(_: Bar) {} }