{"ast_node_type":"function","tokens":[{"end":95,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn from_ty(sema: &Semantics<'_, RootDatabase>, ty: &hir::Type<'_>) -> Option<TryEnum> {
    /// Returns `Some(..)` if the provided type is an enum that implements `std::ops::Try`.
        let enum_ = match ty.as_adt() {