diff options
Diffstat (limited to 'tvix/cli/src')
-rw-r--r-- | tvix/cli/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/cli/src/main.rs b/tvix/cli/src/main.rs index 65f5d5363c1d..d765fa98392c 100644 --- a/tvix/cli/src/main.rs +++ b/tvix/cli/src/main.rs @@ -159,7 +159,7 @@ fn interpret(code: &str, path: Option<PathBuf>, args: &Args, explain: bool) -> b } for error in &result.errors { - error.fancy_format_stderr(&source_map); + error.fancy_format_stderr(); } if !args.no_warnings { @@ -207,7 +207,7 @@ fn lint(code: &str, path: Option<PathBuf>, args: &Args) -> bool { } for error in &result.errors { - error.fancy_format_stderr(&source_map); + error.fancy_format_stderr(); } for warning in &result.warnings { |