mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 07:54:41 +01:00
Add a note: prefix to all notes. (#4330)
Omit the `note: ` prefix and the snippet from the "in import" note that precedes a diagnostic. This makes our diagnostic output more closely match that of Clang and GCC.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
// CHECK:STDERR: fail_param_redecl.carbon:[[@LINE+6]]:14: error: duplicate name being declared in the same scope
|
||||
// CHECK:STDERR: fn F(n: i32, n: i32);
|
||||
// CHECK:STDERR: ^
|
||||
// CHECK:STDERR: fail_param_redecl.carbon:[[@LINE+3]]:6: name is previously declared here
|
||||
// CHECK:STDERR: fail_param_redecl.carbon:[[@LINE+3]]:6: note: name is previously declared here
|
||||
// CHECK:STDERR: fn F(n: i32, n: i32);
|
||||
// CHECK:STDERR: ^
|
||||
fn F(n: i32, n: i32);
|
||||
|
||||
Reference in New Issue
Block a user