-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
More helpful error messages #56
Labels
Milestone
Comments
Seems reasonable. Will be out of scope for 0.10. though, hope that's OK :) |
In case someone wants to take over, feel free.... Otherwise I'll look into it as soon as we're working on 1.0. |
Just to be clear, this is about improving the Display impl for ParseError? As in expanding on the strings See Lines 43 to 79 in 01e6582
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be great if rnix-parser has errors more descriptive than "unexpected X," perhaps prompting the user how to fix the code if we can guess what's missing (e.g. a semicolon for the last value in an attr set)?
Existing error messages at the time of writing:
rnix-parser/src/parser.rs
Lines 22 to 37 in fa6ddde
The text was updated successfully, but these errors were encountered: