Skip to main content
Module expr
rustc_
parse
1.95.0-nightly
(18d13b533 2026-02-09)
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
🔒
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.