Add "ERROR" to all error diagnostics (#3251)

This makes the difference between errors and lower-level diagnostics
visible to users, and aligns the toolchain's behavior with the
expectations in `driver_fuzzer.cpp`.
This commit is contained in:
Geoff Romer
2023-09-26 16:52:49 +00:00
committed by GitHub
parent 491fa1bdd5
commit 7899154a21
176 changed files with 280 additions and 275 deletions
@@ -4,7 +4,7 @@
//
// AUTOUPDATE
// CHECK:STDERR: fail_missing_name.carbon:[[@LINE+3]]:4: `fn` introducer should be followed by a name.
// CHECK:STDERR: fail_missing_name.carbon:[[@LINE+3]]:4: ERROR: `fn` introducer should be followed by a name.
// CHECK:STDERR: fn ();
// CHECK:STDERR: ^
fn ();