Function clippy_utils::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.