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