Skip to content

Commit

Permalink
Rollup merge of rust-lang#41820 - devurandom:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
bootstrap: Output name of failed config in case of errors
  • Loading branch information
Mark-Simulacrum authored May 12, 2017
2 parents 5b5c045 + cf05cd8 commit c804e4b
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 c804e4b

Please sign in to comment.