Function clippy_utils::get_expr_use_or_unification_node[−][src]

pub fn get_expr_use_or_unification_node<'tcx>(
    tcx: TyCtxt<'tcx>,
    expr: &Expr<'_>
) -> Option<Node<'tcx>>
Expand description

Gets the node where an expression is either used, or it’s type is unified with another branch.