Skip to main content

push_recursive_reference_hit

Function push_recursive_reference_hit 

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

Record a recursive free-function reference for the editor surface.

Usage-graph consumers exclude SelfReceiver hits, so allowing the enclosing definition here does not create a self edge in external usage results. The structured same-symbol check below prevents unrelated enclosing units from being classified as recursive references.