with_loc

Function with_loc 

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

Attach a 1-based line + column location to an existing issue.

Use this when precise location information is available.