diff --git a/doc/langref.html.in b/doc/langref.html.in index 4efa7d0e3c..ce07d6494a 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -3422,10 +3422,11 @@ test "call foo" {

Blocks are used to limit the scope of variable declarations:

- {#code_begin|test_err|unused local variable#} + {#code_begin|test_err|use of undeclared identifier 'x'#} test "access variable after block scope" { { var x: i32 = 1; + _ = x; } x += 1; }