## Summary Add error messages for invalid nodes in type expressions Fixes #16816 ## Test Plan Extend annotations/invalid.md to handle these invalid AST nodes error messages
typing.Literal[]
## Summary Fixes https://github.com/astral-sh/ruff/issues/16532 ## Test Plan New mdtest assertions added --------- Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>