-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors in config file don't point to correct span #295
Comments
Thank you for reporting this. This seems to be an upstream error: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b2368bcdc7aff8aac38ed6ad1ace920b |
Yes. See: |
The issue seems to be related to serde's |
This works around a known serde problem when wrong error messages are generated with flattened fields. See sharkdp#295 for details Closes sharkdp#295
To reproduce, write this to your config file:
then run
numbat
, which will error with this output:The text was updated successfully, but these errors were encountered: