Skip to main content

merge_perspective_issues

Function merge_perspective_issues 

Source
pub fn merge_perspective_issues(
    per_perspective: Vec<(ReviewPerspective, Vec<ReviewIssueRecord>)>,
) -> Vec<ReviewIssueRecord>
Expand description

Merge issues from multiple perspective passes.

Dedupe key: (file, line, rule_id_or_rule). When duplicates exist, the issue with the highest severity wins, and the perspectives vector lists every perspective (in fixed canonical order) whose pass flagged it.