{"ast_node_type":"variable","tokens":[{"end":45,"kind":"keyword","start":0,"text":"let"}]}
        let ty = self.resolve_ty_shallow(ty);
    ) -> Option<(ValueNs, Substitution)> {
        let (enum_id, subst) = match ty.as_adt() {