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

Better error for some unresolved imports #6443

Closed
wants to merge 2 commits into from
Closed

Better error for some unresolved imports #6443

wants to merge 2 commits into from

Conversation

emberian
Copy link
Member

When trying to import nonexistent items from existing modules, specify that
that is what happened, rather than just reporting "unresolved name".

Ideally the error would be reported on the span of the import... but I do not see a way to get a span there. Help appreciated 😄

When trying to import nonexistent items from existing modules, specify that
that is what happened, rather than just reporting "unresolved name".
@kud1ing
Copy link

kud1ing commented May 13, 2013

Nice, this seems to fix #6392

bors added a commit that referenced this pull request May 13, 2013
When trying to import nonexistent items from existing modules, specify that
that is what happened, rather than just reporting "unresolved name".

Ideally the error would be reported on the span of the import... but I do not see a way to get a span there. Help appreciated 😄
@bors bors closed this May 13, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 20, 2020
clone_on_copy: show the type in the lint message

changelog: clone_on_copy: show the type in the lint 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

Successfully merging this pull request may close these issues.

3 participants