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.