clippy_utils

Function contains_name

source
pub fn contains_name<'tcx>(
    name: Symbol,
    expr: &'tcx Expr<'_>,
    cx: &LateContext<'tcx>,
) -> bool
Expand description

Checks if an Expr contains a certain name.