pub fn attribute_effects(
patch: &StructuredPatch,
check_result: &CheckResult,
line_map: &LineAttributionMap,
max_line_distance: u32,
) -> ForgeResult<Vec<AttributionTriple>>Expand description
Attribute effects to edit ops based on line distance in patched-file space.
Uses the LineAttributionMap to translate original line numbers into
patched-space positions, so that distance-to-error calculations are
accurate after insertions/deletions have shifted lines.