Skip to content

Commit 87254bc

Browse files
committed
Auto merge of #41820 - devurandom:patch-1, r=alexcrichton
bootstrap: Output name of failed config in case of errors
2 parents e19ccb7 + cf05cd8 commit 87254bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ impl Config {
264264
let table = match p.parse() {
265265
Some(table) => table,
266266
None => {
267-
println!("failed to parse TOML configuration:");
267+
println!("failed to parse TOML configuration '{}':", file.to_str().unwrap());
268268
for err in p.errors.iter() {
269269
let (loline, locol) = p.to_linecol(err.lo);
270270
let (hiline, hicol) = p.to_linecol(err.hi);

0 commit comments

Comments
 (0)