Skip to main content

push_declaration_reference_hit

Function push_declaration_reference_hit 

Source
pub fn push_declaration_reference_hit(node: Node<'_>, ctx: &mut ScanCtx<'_>)
Expand description

Record a declaration-only spelling that is linked to the target’s physical definition. It is an external reference to that definition even when the analyzer reconciles both occurrences into one logical CodeUnit, so the ordinary own-declaration suppression does not apply.