Module rustc_parse::parser::expr
source · Macros
- Possibly accepts an
token::Interpolated
expression (a pre-parsed expression dropped into the token stream, which happens while parsing the result of macro expansion). Placement of these is not as complex as I feared it would be. The important thing is to make sure that lookahead doesn’t balk attoken::Interpolated
tokens.
Structs
- Visitor to check for invalid/unstable use of
ExprKind::Let
that can’t easily be caught in parsing. For example:
Enums
- Used to forbid
let
expressions in certain syntactic locations. - LhsExpr 🔒