You’ve missed (or ignored) the “compiler enforces leaving the scope” part.