{"ast_node_type":"function","tokens":[{"end":28,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn ty(&self) -> Ty {
    /// Get the instance type with generic instantiations applied and lifetimes erased.
        with(|context| context.instance_ty(self.def))