pub fn rename_type_ref(
t: &TypeRef,
renames: &HashMap<String, String>,
) -> TypeRefExpand description
#1846: t with each type renames names renamed, wherever it is named:
a bare name, and the base of a generic application (Envelope[Int]),
which subst_type_ref leaves alone because a type parameter is never
applied. bynk-emit renames a consumed context’s unexported types with it.