Skip to content

Commit 18813fb

Browse files
committed
style: Format errors so that editors can jump to file/line
With this change, it's now possible to do: ``` ./style src > e vim -q e ```
1 parent b01a39a commit 18813fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/style.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,6 @@ impl State {
196196
impl Errors {
197197
fn error(&mut self, path: &Path, line: usize, msg: &str) {
198198
self.errs = true;
199-
println!("{}:{} - {}", path.display(), line + 1, msg);
199+
println!("{}:{}: {}", path.display(), line + 1, msg);
200200
}
201201
}

0 commit comments

Comments
 (0)