pub fn resolve_absolute_path<'a, I: Iterator<Item = Symbol> + Clone + 'a>( db: &'a dyn HirDatabase, segments: I, ) -> impl Iterator<Item = ItemInNs> + use<'a, I>