Zig Version
0.10.0-dev.2836+2360f8c49
Steps to Reproduce
Expected Behavior
x.zig:1:15: error: expected return type expression, found '{'
pub fn main() {}
^
(without color)
Actual Behavior
x.zig:1:15: error: expected return type expression, found '{'
(no color (expected) and the error message is missing the source code and the caret (unexpected))
The output for dumb terminals can be improved to be on par with the output for non-dumb terminals, without escape sequences.
GCC gets it right:

Zig Version
0.10.0-dev.2836+2360f8c49
Steps to Reproduce
Expected Behavior
(without color)
Actual Behavior
(no color (expected) and the error message is missing the source code and the caret (unexpected))
The output for dumb terminals can be improved to be on par with the output for non-dumb terminals, without escape sequences.
GCC gets it right:
