1 #[macro_export] 2 macro_rules! do_nothing { 3 () => () 4 } 5 6 mod m1 { 7 pub trait InScope1 { in_scope1(&self)8 fn in_scope1(&self) {} 9 } 10 impl InScope1 for () {} 11 } 12 mod m2 { 13 pub trait InScope2 { in_scope2(&self)14 fn in_scope2(&self) {} 15 } 16 impl InScope2 for () {} 17 } 18 19 pub use m1::InScope1 as _; 20 pub use m2::InScope2 as _; 21