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