-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
chained import error message unhelpful #5582
Comments
The error is still not too helpful. |
Visited for triage, still valid but low-priority. |
This compiles now. I'll add a test. |
As @huonw pointed out, I was wrong about the test -- actually, this is the test for this bug, which still yields an unhelpful error (one that doesn't mention chained imports):
|
With that said, I don't think this is a milestone blocker. |
The original issue had nothing to do with chained imports, but the fact that it needed to be a |
…variants, r=flip1995 New lint: `match_wildcard_for_single_variants` changelog: Added a new lint match_wildcard_for_single_variants to warn on enum matches where a wildcard is used to match a single variant Closes rust-lang#5556
Currently doing:
fails with "error: unresolved import". It would be much better if this gave the real reason. Perhaps "error: chained imports are not allowed".
The text was updated successfully, but these errors were encountered: