Rollup merge of #41820 - devurandom:patch-1, r=alexcrichton

bootstrap: Output name of failed config in case of errors
This commit is contained in:
Mark Simulacrum 2017-05-12 18:57:26 -06:00 committed by GitHub
commit 88a5af73ae

View File

@ -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);