fn can_use_shortened_module( idx: &ModuleIdx<'_>, current_module: &[String], parts: &[String], ) -> bool