Rollup merge of #41820 - devurandom:patch-1, r=alexcrichton
bootstrap: Output name of failed config in case of errors
This commit is contained in:
commit
88a5af73ae
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue