pub fn is_unrecoverable(&self) -> bool {
        use super::error::{
            ErrorKind::{Parse, Validation},
            ValidationError::{FileLoading, ResourceBlock},
        };
        matches!(
            self,
            Diagnostic::Error(PolarError(
                Parse(_) | Validation(FileLoading { .. }) | Validation(ResourceBlock { .. }),
            ))
        )
    }
/// Unrecoverable diagnostics might lead to additional diagnostics that obscure the root issue.
///
/// E.g., a `ResourceBlock` error for an invalid `relations` declaration that will cause a
/// second `ResourceBlock` error when rewriting a shorthand rule involving the relation.
Unrecoverable diagnostics might lead to additional diagnostics that obscure the root issue.
Unrecoverable diagnostics might lead to additional diagnostics that obscure the root issue .
pub fn is_unrecoverable(&self) -> bool {
        use super::error::{
            ErrorKind::{Parse, Validation},
            ValidationError::{FileLoading, ResourceBlock},
        };
        matches!(
            self,
            Diagnostic::Error(PolarError(
                Parse(_) | Validation(FileLoading { .. }) | Validation(ResourceBlock { .. }),
            ))
        )
    }
pub fn is_unrecoverable ( & self ) -> bool { use super :: error :: { ErrorKind :: { Parse , Validation } , ValidationError :: { FileLoading , ResourceBlock } , } ; matches ! ( self Diagnostic Error ( PolarError ( Parse ( ) Validation ( FileLoading { } ) Validation ( ResourceBlock { } ) ) ) ) }
Unrecoverable diagnostics might lead to additional diagnostics that obscure the root issue.
Unrecoverable diagnostics might lead to additional diagnostics that obscure the root issue .
&self
&self