error tokens instead of result

This commit is contained in:
nora 2021-12-30 16:21:18 +01:00
parent 5ae747d513
commit 11b735d728
3 changed files with 49 additions and 36 deletions

View file

@ -62,7 +62,7 @@ mod span {
}
}
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq)]
pub struct CompilerError {
pub span: Span,
pub message: String,