Struct erg_compiler::artifact::ErrorArtifact
source · pub struct ErrorArtifact {
pub errors: CompileErrors,
pub warns: CompileErrors,
}
Fields§
§errors: CompileErrors
§warns: CompileErrors
Implementations§
source§impl ErrorArtifact
impl ErrorArtifact
pub const fn new(errors: CompileErrors, warns: CompileErrors) -> Self
Trait Implementations§
source§impl Debug for ErrorArtifact
impl Debug for ErrorArtifact
source§impl Display for ErrorArtifact
impl Display for ErrorArtifact
source§impl Error for ErrorArtifact
impl Error for ErrorArtifact
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<IncompleteArtifact<HIR>> for ErrorArtifact
impl From<IncompleteArtifact<HIR>> for ErrorArtifact
source§fn from(artifact: IncompleteArtifact) -> Self
fn from(artifact: IncompleteArtifact) -> Self
Converts to this type from the input type.