-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Flycheck-rust just says "aborting due to 3 previous errors" #48
Comments
That's a terribly unhelpful error message. Sorry for that. Can you give me the output of |
Interesting that it does give the other errors that it found, but it's even more odd that those "errors" don't show up in my actual build. |
In my terminal, I run the command that it gave me
and I do get the same errors on the terminal, so it's not a mismatched rustc version. |
Thanks, I can indeed reproduce by cloning your repo. Looking into it. |
I think I know what's going on, and this is probably not a bug in flycheck-rust, it's just that I didn't understand how flycheck works...
|
Ah, you beat me to it. Point 1 has actually been brought up before. There was a PR flycheck/flycheck#972, but progress has stalled for various reasons. Point 3 is actually an unwanted side-effect of fixing flycheck/flycheck#1182. The message "aborting due to 3 previous errors" should be filtered out by flycheck, and flycheck/flycheck#1187 should take care of it. I notice that my fix was incomplete, so thanks for your report :) |
@fmdkdd Would you be willing to mentor me as I attempt to add project-wide error messages to flycheck? I'm really new to emacs lisp and it looks like you know your way around flycheck + flycheck-rust! Unfortunately flycheck is basically worthless for me until it has project-wide error messages, so I'm going to try and add it myself 😄 |
@TyOverby That's actually a feature that I would like to see implemented as well. From a cursory reading of the PR discussion, it does not look like an easy task to complete. But, that PR in its current state may be a good place to start. I don't know flycheck inside-out, but I can follow the lisp. I'll be happy to help you out, but expect more than a few bumps in the road before we manage to work out all the corner cases :) Open up a PR on flycheck/flycheck proper. I think the approach taken in flycheck/flycheck#972 is sound and was already approved. It just needs polishing up. You can pick up that branch to open your PR. |
There's no actual mention of what the errors are.
This is on a project that builds without issue with
cargo build
The text was updated successfully, but these errors were encountered: