aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-05-18 14:32:52 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-05-18 19:17:04 -0700
commit503302ceef7290027eedcc78c903be32fad90433 (patch)
tree87d9e953fa2fd4861b6467960f68ad6de334289d /src/Module.zig
parentb9d2e0e308794463db1b1acf04d76778c470a070 (diff)
downloadzig-503302ceef7290027eedcc78c903be32fad90433.tar.gz
zig-503302ceef7290027eedcc78c903be32fad90433.zip
Sema: simplify "duplicate test name" error message
* Avoid redundant words ("found") - All compile errors are found by the compiler * Avoid unnecessary prepositions ("with") - There is a grammatically correct alternate word order without the preposition.
Diffstat (limited to 'src/Module.zig')
-rw-r--r--src/Module.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Module.zig b/src/Module.zig
index 6d1a5acb09..d87c86b864 100644
--- a/src/Module.zig
+++ b/src/Module.zig
@@ -5354,7 +5354,7 @@ fn scanDecl(iter: *ScanDeclIter, decl_sub_index: usize, flags: u4) Allocator.Err
const msg = try ErrorMsg.create(
gpa,
src_loc,
- "found test declaration with duplicate name: {s}",
+ "duplicate test name: {s}",
.{decl_name},
);
errdefer msg.destroy(gpa);