clippy_utils

Function expr_use_ctxt

source
pub fn expr_use_ctxt<'tcx>(
    cx: &LateContext<'tcx>,
    e: &'tcx Expr<'tcx>,
) -> ExprUseCtxt<'tcx>
Expand description

Gets the context an expression’s value is used in.