Replies: 1 comment
-
Hey, try removing the explicit Error type from your main - I think it needs to convert to a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use miette to have nice error messages in a compiler I made, but I can't figure out how to properly do it. I've reproduced a minimal example:
But this just prints
Error: AnalyzerError(VariableAlreadyDefined { ... })
in terminal, not the fancy diagnostic message (I've enabled thefancy
feature). Any help would be much appreciated!Beta Was this translation helpful? Give feedback.
All reactions