You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
check: deletion-only diff reports its finding at line 0 (./src/lib.rs:0) #11486
Repro: in a tiny Rust crate with a committed pub fn disc(...) on line 1 of src/lib.rs, run sed -i '1d' src/lib.rs && ripr check. Output lists - ./src/lib.rs:0 (unknown: infection unclear); kind: predicate under "Hidden".
Goal: a finding location is a real 1-based line (or the output says it is base-side at old line N). Line 0 reads as a bug.
Owner: output/analysis (base-side finding location). Fix in the PR linked below.
Ownership receipt: this is already owned by open Draft PR #11518 (head f32745b), which clamps the top-of-file deletion's new-side line to 1 and adds a unit test for the @@ -1 +0,0 @@ hunk. Not duplicating. Leaving this issue open because the fix has not landed on main; it should close when #11518 merges.
Activity
EffortlessSteven commentedon Oct 31, 2026
Ownership receipt: this is already owned by open Draft PR #11518 (head f32745b), which clamps the top-of-file deletion's new-side line to 1 and adds a unit test for the
@@ -1 +0,0 @@hunk. Not duplicating. Leaving this issue open because the fix has not landed on main; it should close when #11518 merges.Generated by Claude Code
fix(diff): anchor a top-of-file deletion at line 1, not line 0 (#11486)…