rustc_
lint
1.86.0-beta.5
(b2af9a598 2025-03-08)
In rustc_
lint::
if_
let_
rescope
Structs
AltHead
ClosingBrackets
ConsequentRewrite
FindSignificantDropper
IfLetRescope
IfLetRescopeLint
IfLetRescopeRewrite
Enums
SingleArmMatchBegin
Statics
IF_LET_RESCOPE
Functions
expr_parent_is_else
expr_parent_is_stmt
match_head_needs_bracket
rustc_lint
::
if_let_rescope
Function
expr_parent_is_else
Copy item path
Settings
Help
Summary
Source
fn expr_parent_is_else(tcx:
TyCtxt
<'_>, hir_id:
HirId
) ->
bool