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.
pub fn expr_use_ctxt<'tcx>(
cx: &LateContext<'tcx>,
e: &'tcx Expr<'tcx>,
) -> ExprUseCtxt<'tcx>
Gets the context an expression’s value is used in.