Module if_let_rescope

Source

Structsยง

AltHead ๐Ÿ”’
ClosingBrackets ๐Ÿ”’
ConsequentRewrite ๐Ÿ”’
DestructorLabel ๐Ÿ”’
FindSignificantDropper ๐Ÿ”’
IfLetRescope ๐Ÿ”’
Lint for potential change in program semantics of if lets
IfLetRescopeLint ๐Ÿ”’
IfLetRescopeRewrite ๐Ÿ”’

Enumsยง

SingleArmMatchBegin ๐Ÿ”’

Staticsยง

IF_LET_RESCOPE
The if_let_rescope lint detects cases where a temporary value with significant drop is generated on the right hand side of if let and suggests a rewrite into match when possible.

Functionsยง

expr_parent_is_else ๐Ÿ”’
expr_parent_is_stmt ๐Ÿ”’
match_head_needs_bracket ๐Ÿ”’