pub(crate) fn path_to_imported_ident(path: &Path) -> Ident
Returns a name imported by a use declaration. E.g., returns Ordering for std::cmp::Ordering and self for std::cmp::self.
use
Ordering
std::cmp::Ordering
self
std::cmp::self