clippy_utils

Function get_item_name

Source
pub fn get_item_name(cx: &LateContext<'_>, expr: &Expr<'_>) -> Option<Symbol>
Expand description

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