diff --git a/docs/source/error_code_list2.rst b/docs/source/error_code_list2.rst index 141aa4490c0b..784c2ad72819 100644 --- a/docs/source/error_code_list2.rst +++ b/docs/source/error_code_list2.rst @@ -616,7 +616,7 @@ Example: .. _code-exhaustive-match: -Check that match statements match exhaustively [match-exhaustive] +Check that match statements match exhaustively [exhaustive-match] ----------------------------------------------------------------------- If enabled with :option:`--enable-error-code exhaustive-match `,