rustc_
parse
1.89.0-nightly
(99e7c15e8 2025-06-01)
Module expr
Module Items
Structs
Enums
Functions
In rustc_
parse::
parser
rustc_parse
::
parser
Module
expr
Copy item path
Source
Structs
ยง
Cond
Checker
๐
Visitor to check for invalid use of
ExprKind::Let
that canโt easily be caught in parsing. For example:
Enums
ยง
Destructured
Float
๐
Forbidden
LetReason
๐
Used to forbid
let
expressions in certain syntactic locations.
LetChains
Policy
Whether let chains are allowed on all editions, or itโs edition dependent (allowed only on 2024 and later). In case of edition dependence, specify the currently present edition.
Functions
ยง
could_
be_
unclosed_
char_
literal
๐
Could this lifetime/label be an unclosed char literal? For example,
'a
could be, but
'abc
could not.