mod mod1 { use ibuilder::*; #[derive(IBuilder)] pub struct Foo { bar: super::mod2::Bar, } } mod mod2 { use ibuilder::*; #[derive(IBuilder)] pub struct Bar { field: i64, } } fn main() { use ibuilder::Buildable; let _builder = mod1::Foo::builder(); }