Module expr

Source

Structsยง

CondChecker ๐Ÿ”’
Visitor to check for invalid use of ExprKind::Let that canโ€™t easily be caught in parsing. For example:

Enumsยง

DestructuredFloat ๐Ÿ”’
ForbiddenLetReason ๐Ÿ”’
Used to forbid let expressions in certain syntactic locations.
LetChainsPolicy
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.