Making better errors

This commit is contained in:
2026-05-14 19:25:29 +02:00
parent ef7ccc5aed
commit fd48d6c9c6
2 changed files with 19 additions and 4 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ fn build_dir(root: &Path, base_src: &Path, current_dir: &Path, out_dir: &Path) {
}
};
let parser_result = mist_parser::parse(&source).map_err(|e| e.to_string());
let parser_result = mist_parser::parse(&source).map_err(|e| format!("{e:?}"));
let ast = match parser_result {
Ok(ast) => ast,