the new toml crate has nice error messages: https://epage.github.io/blog/2023/01/toml-vs-toml-edit/ unfortunately, they always point to line one in our case