Skip to content

Commit

Permalink
bootstrap: Output name of failed config in case of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
devurandom authored May 7, 2017
1 parent 8d19877 commit cf05cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ impl Config {
let table = match p.parse() {
Some(table) => table,
None => {
println!("failed to parse TOML configuration:");
println!("failed to parse TOML configuration '{}':", file.to_str().unwrap());
for err in p.errors.iter() {
let (loline, locol) = p.to_linecol(err.lo);
let (hiline, hicol) = p.to_linecol(err.hi);
Expand Down

0 comments on commit cf05cd8

Please sign in to comment.