mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 10:54:49 +01:00
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:
@@ -5,7 +5,7 @@
|
||||
// AUTOUPDATE
|
||||
|
||||
fn F() {
|
||||
// CHECK:STDERR: fail_else_expr_missing.carbon:[[@LINE+3]]:35: Expected expression.
|
||||
// CHECK:STDERR: fail_else_expr_missing.carbon:[[@LINE+3]]:35: ERROR: Expected expression.
|
||||
// CHECK:STDERR: var n: i32 = if true then 1 else;
|
||||
// CHECK:STDERR: ^
|
||||
var n: i32 = if true then 1 else;
|
||||
|
||||
Reference in New Issue
Block a user