Function clippy_utils::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.
pub fn get_item_name(cx: &LateContext<'_>, expr: &Expr<'_>) -> Option<Symbol>
Gets the name of the item the expression is in, if available.