Function clippy_utils::is_expr_used_or_unified
source · pub fn is_expr_used_or_unified(tcx: TyCtxt<'_>, expr: &Expr<'_>) -> bool
Expand description
Checks if the result of an expression is used, or it’s type is unified with another branch.