| ... | ... | @@ -285,7 +285,7 @@ pub const AllErrors = struct { |
| 285 | 285 | const held = std.debug.getStderrMutex().acquire(); |
| 286 | 286 | defer held.release(); |
| 287 | 287 | const stderr = std.io.getStdErr(); |
| 288 | | return msg.renderToStdErrInner(ttyconf, stderr, "error", .Red) catch return; |
| 288 | return msg.renderToStdErrInner(ttyconf, stderr, "error:", .Red) catch return; |
| 289 | 289 | } |
| 290 | 290 | |
| 291 | 291 | fn renderToStdErrInner( |
| ... | ... | @@ -298,6 +298,7 @@ pub const AllErrors = struct { |
| 298 | 298 | const stderr = stderr_file.writer(); |
| 299 | 299 | switch (msg) { |
| 300 | 300 | .src => |src| { |
| 301 | ttyconf.setColor(stderr, .Bold); |
| 301 | 302 | try stderr.print("{s}:{d}:{d}: ", .{ |
| 302 | 303 | src.src_path, |
| 303 | 304 | src.line + 1, |
| ... | ... | @@ -317,11 +318,11 @@ pub const AllErrors = struct { |
| 317 | 318 | ttyconf.setColor(stderr, .Reset); |
| 318 | 319 | } |
| 319 | 320 | for (src.notes) |note| { |
| 320 | | try note.renderToStdErrInner(ttyconf, stderr_file, "note", .Cyan); |
| 321 | try note.renderToStdErrInner(ttyconf, stderr_file, "note:", .Cyan); |
| 321 | 322 | } |
| 322 | 323 | }, |
| 323 | 324 | .plain => |plain| { |
| 324 | | std.debug.print("{s}: {s}\n", .{ kind, plain.msg }); |
| 325 | stderr.print("{s}: {s}\n", .{ kind, plain.msg }); |
| 325 | 326 | }, |
| 326 | 327 | } |
| 327 | 328 | } |