Skip to content

Commit 8fdcb90

Browse files
committed
Auto merge of #2846 - joshtriplett:style-quickfix, r=Amanieu
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 ```
2 parents fb8d512 + 18813fb commit 8fdcb90

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)