fn ty_to_value_string(&self, ty: Ty<'tcx>) -> String {
        match ty.kind {
            ty::Adt(def, substs) => format!("{}", ty::Instance::new(def.did, substs)),
            _ => self.ty_to_string(ty),
        }
    }
/// Print out the type for use in value namespace.
Print out the type for use in value namespace.
Print out the type for use in value namespace .
fn ty_to_value_string(&self, ty: Ty<'tcx>) -> String {
        match ty.kind {
            ty::Adt(def, substs) => format!("{}", ty::Instance::new(def.did, substs)),
            _ => self.ty_to_string(ty),
        }
    }
fn ty_to_value_string ( & self , ty : Ty < ' tcx > ) -> String { match ty . kind { ty :: Adt ( def , substs ) => format ! ( " " ty Instance new ( def did substs ) ) , _ => self . ty_to_string ( ty ) , } }
Print out the type for use in value namespace.
Print out the type for use in value namespace .
&self
ty
Ty<'tcx>
&self
ty
Ty<'tcx>