diff --git a/ast/src/errors/error.rs b/ast/src/errors/error.rs index 28b7d48f72..1f029866aa 100644 --- a/ast/src/errors/error.rs +++ b/ast/src/errors/error.rs @@ -110,7 +110,7 @@ impl fmt::Display for FormattedError { write!( f, - "{indent }--> {path}{line_start}:{start}\n\ + "{indent }--> {path} {line_start}:{start}\n\ {indent } |\n", indent = INDENT, path = path, @@ -132,7 +132,7 @@ impl fmt::Display for FormattedError { write!( f, - "{indent } | {underline}\n\ + "{indent } | {underline}\n\ {indent } |\n\ {indent } = {message}", indent = INDENT,