Skip to main content

record_self_receiver_hit

Function record_self_receiver_hit 

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

Record node as a same-owner self/cls receiver hit (#1014 facet B): a self.member / cls.member access whose receiver is the current instance / own class. Excluded from the external usage surface, counted as a same-owner site. Records the ordinary hit, then reclassifies it — the shared scan consumer, so the record ceremony lives in exactly one place.