about summary refs log tree commit diff
path: root/corp
diff options
context:
space:
mode:
Diffstat (limited to 'corp')
-rw-r--r--corp/tvixbolt/src/main.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/corp/tvixbolt/src/main.rs b/corp/tvixbolt/src/main.rs
index 53a2d29fef..e8a2bc02e2 100644
--- a/corp/tvixbolt/src/main.rs
+++ b/corp/tvixbolt/src/main.rs
@@ -323,12 +323,7 @@ fn eval(model: &Model) -> Output {
 
     if !result.errors.is_empty() {
         for error in &result.errors {
-            writeln!(
-                &mut out.errors,
-                "{}\n",
-                error.fancy_format_str(&source).trim(),
-            )
-            .unwrap();
+            writeln!(&mut out.errors, "{}\n", error.fancy_format_str().trim(),).unwrap();
         }
 
         return out;