1 2 3
pub fn err_with_pos<S: Into<String>>(msg: S, line: usize, col: usize) -> String { format!("(at line {}, col {}) {}", line, col, msg.into()) }