{"ast_node_type":"function","tokens":[{"end":73,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn instance_ty(&self, instance: ty::Instance<'tcx>) -> Ty<'tcx> {
    /// Get the instance type with generic instantiations applied and lifetimes erased.
        assert!(!instance.has_non_region_param(), "{instance:?} needs further instantiation");