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.
pub fn contains_name<'tcx>(
name: Symbol,
expr: &'tcx Expr<'_>,
cx: &LateContext<'tcx>
) -> bool
Checks if an Expr
contains a certain name.