pub fn copy_finding_diagnostics(
findings: &[Finding],
line_index: &LineIndex,
) -> Vec<Diagnostic>Expand description
The value-semantics copy lint’s findings, as the editor shows them — same treatment
lgx_finding_diagnostics gives its own, separate finding type: at the mutation the lint is
about, with its own severity and message.
The code is copy- and the finding’s kind in kebab case (copy-orphaned-copy), mirroring
lgx_finding_code’s own convention.