|
|
|
@ -63,13 +63,13 @@ impl error::Error for RenderError<'_> {
|
|
|
|
|
|
|
|
|
|
impl fmt::Display for CompileError {
|
|
|
|
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
|
|
|
|
write!(f, "Error rendering: {}", self.message)
|
|
|
|
|
write!(f, "Error compiling: {}", self.message)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
impl fmt::Debug for CompileError {
|
|
|
|
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
|
|
|
|
write!(f, "Error rendering: {}", self.message)
|
|
|
|
|
write!(f, "Error compiling: {}", self.message)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|