Skip to content

Better error for some unresolved imports - #6443

Closed
emberian wants to merge 2 commits into
rust-lang:incomingfrom
emberian:resolution
Closed

Better error for some unresolved imports#6443
emberian wants to merge 2 commits into
rust-lang:incomingfrom
emberian:resolution

Conversation

@emberian

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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 😄
@borsbors 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
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6443: Remove unnecessary clone r=jonas-schievink a=jonas-schievink
bors r+ 🤖
Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>
Sign up for freeto 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

@emberian@kud1ing@bors