Skip to main content

with_line

Function with_line 

Source
pub fn with_line(i: ValidationIssue, line: u32) -> ValidationIssue
Expand description

Attach a 1-based line number to an existing issue.

Use this when the issue can be pinpointed to a specific line.