{"ast_node_type":"function","tokens":[{"end":81,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn ty(&self, tcx: TyCtxt<'tcx>, args: GenericArgsRef<'tcx>) -> Ty<'tcx> {
    /// typically obtained via the second field of [`TyKind::Adt`].
        tcx.type_of(self.did).instantiate(tcx, args)