diff --git a/crates/ruff_linter/src/snapshots/ruff_linter__linter__tests__semantic_syntax_error_AnnotatedGlobal_annotated_global_3.10.snap b/crates/ruff_linter/src/snapshots/ruff_linter__linter__tests__semantic_syntax_error_AnnotatedGlobal_annotated_global_3.10.snap index 92830e2891..d038561f17 100644 --- a/crates/ruff_linter/src/snapshots/ruff_linter__linter__tests__semantic_syntax_error_AnnotatedGlobal_annotated_global_3.10.snap +++ b/crates/ruff_linter/src/snapshots/ruff_linter__linter__tests__semantic_syntax_error_AnnotatedGlobal_annotated_global_3.10.snap @@ -44,3 +44,11 @@ invalid-syntax: annotated name `d` can't be global 22 | 23 | e: int = 1 | + +invalid-syntax: annotated name `f` can't be global + --> :28:1 + | +27 | global f +28 | f: int + | ^ + |