Function doc_link_owner_declared
pub fn doc_link_owner_declared(
index: &ProjectIndex,
doc_scope: &HashMap<String, Vec<String>>,
owner_unit: &str,
owner: &str,
) -> boolExpand description
#2455: whether any unit in owner_unit’s doc-link scope declares a
top-level symbol named owner (the part of a doc-link name before any .).
A project declaration shadows a first-party name of the same spelling, so
the first-party fallback must not run when this is true — even if
resolve_doc_link_in declined (ambiguous, or a member miss).