-
Notifications
You must be signed in to change notification settings - Fork 1.8k
a missing semicolon can mess up the whole diagnostics #5924
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
Comments
The |
@bjorn3 great thanks on your quick reply~ I'm wondering what can be done on this? As an user it's frustrating to see this kind of meaningless information |
As an heuristic if a function is called |
Also rustc's "main not found" diagnostic encompasses the entire source file for some reason |
I think this is an upstream issue and we shouldn't try to do anything about it. I filed rust-lang/rust#77968 upstream (maybe someone can add the |
Uh oh!
There was an error while loading. Please reload this page.
The following example has a missing semicolon, this semicolon has broken the whole diagnostic, The Butterfly Effect makes it hard to understand what's exactly happening and give a really bad develop experience.
Code:
What's showing as diagnostics:
The text was updated successfully, but these errors were encountered: