fn convert_render_type(
    ty: &mut RenderType,
    cache: &mut Cache,
    itemid_to_pathid: &mut FxHashMap<ItemId, usize>,
    lastpathid: &mut usize,
    crate_paths: &mut Vec<(ItemType, Symbol)>
)