Skip to content

Commit cf05cd8

Browse files
authored
bootstrap: Output name of failed config in case of errors
1 parent 8d19877 commit cf05cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/config.rs

Lines changed: 1 addition & 1 deletion
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)