mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-27 12:29:28 +00:00
![]() ## Summary This PR updates the return type of `parse_type_annotation` from `Expr` to `Parsed<ModExpression>`. This is to allow accessing the tokens for the parsed sub-expression in the follow-up PR. ## Test Plan `cargo insta test` |
||
---|---|---|
.. | ||
lexer | ||
parser | ||
snapshots | ||
error.rs | ||
lexer.rs | ||
lib.rs | ||
string.rs | ||
token.rs | ||
token_set.rs | ||
token_source.rs | ||
typing.rs |