-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Misleading resolve error with multiple imports #2914
Comments
This seems to be fixed, but now the error doesn't specify which imported ident is missing, and there may be duplicates for the same missing symbol. I suppose these should be squashed.
|
Dretch
pushed a commit
to Dretch/rust
that referenced
this issue
Dec 29, 2012
which import it actually was. This makes debugging imports like: use aa::{x, y, z} easier (for issue rust-lang#2914).
This seems fixed to me. (If you encounter counter-evidence, please reopen, but also throw in the counter-example for us to use for regression test.) |
bors
pushed a commit
to rust-lang-ci/rust
that referenced
this issue
May 15, 2021
fixes rust-lang#2914 by handling BadIssue case
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Jun 3, 2023
add unchecked_shl test rust-lang#112238 made me realize that we have a test for add,sub,mul,shr but not shl. Add the missing test. Also name the existing tests more consistently.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When there is a single import statement that imports multiple idents, and one of them is not found, then the resulting error points to the use site, not the import site.
The text was updated successfully, but these errors were encountered: