Skip to content
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

Syntactically invalid Rust produces a garbled error #4

Open
alexcrichton opened this issue Jul 31, 2017 · 0 comments
Open

Syntactically invalid Rust produces a garbled error #4

alexcrichton opened this issue Jul 31, 2017 · 0 comments

Comments

@alexcrichton
Copy link

First thing's first, this is an awesome extension! I've loved using it so far!

Next thing, I've noticed that when you've got syntactically incorrect source code the error is often pretty difficult to follow. What I believe is happening is that syn is (rightfully) failing to parse, but syn's error messages are much worse than the compiler's. In the case that syn fails, could the compiler be run anyway to generate a nicer error message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant