aboutsummaryrefslogtreecommitdiff
path: root/test/cases/variable_shadowing.6.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/cases/variable_shadowing.6.zig')
-rw-r--r--test/cases/variable_shadowing.6.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cases/variable_shadowing.6.zig b/test/cases/variable_shadowing.6.zig
index 3e53c4da2f..894a398b61 100644
--- a/test/cases/variable_shadowing.6.zig
+++ b/test/cases/variable_shadowing.6.zig
@@ -9,5 +9,5 @@ pub fn main() void {
// error
//
-// :5:13: error: redeclaration of local variable 'i'
+// :5:13: error: capture 'i' shadows local variable from outer scope
// :2:9: note: previous declaration here