Function clippy_lints::utils::get_item_name [] [src]

pub fn get_item_name(cx: &LateContext, expr: &Expr) -> Option<Name>

Get the name of the item the expression is in, if available.