pub fn reference_edges(
resolved: &[ResolvedReference],
) -> Vec<(SymbolId, SymbolId, f32)>Expand description
Fold resolved use sites into one edge per (source, target) pair.
Duplicates max-merge their confidence and the result is ordered by symbol
id, so the edge list does not depend on discovery or resolution order. A
self-recursive use site folds into a self edge, which is intended: the SCC
pass reports such a unit as a SelfLoop hint.