pub(crate) fn mod_dir_path(
    sess: &Session,
    ident: Ident,
    attrs: &[Attribute],
    module: &ModuleData,
    dir_ownership: DirOwnership,
    inline: Inline
) -> (PathBuf, DirOwnership)