pub struct Abc; pub struct Bcd; pub mod a { } pub mod b { #[allow(dead_code)] pub struct Cde; } mod c { #[allow(dead_code)] pub struct Def; } pub mod d { }