-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Issue with suggestion for Clone #27165
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
Comments
steveklabnik
added
the
A-diagnostics
Area: Messages for errors, warnings, and lints
label
Jul 21, 2015
#26635 is similar. |
You are correct, I was not using the prelude. |
bors
added a commit
that referenced
this issue
Mar 31, 2016
diagnostics: make paths to external items more visible This PR changes the reported path for an external item so that it is visible from at least one local module (i.e. it does not use any inaccessible external modules) if possible. If the external item's crate was declared with an `extern crate`, the path is guarenteed to use the `extern crate`. Fixes #23224, fixes #23355, fixes #26635, fixes #27165. r? @nrc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wrote an implementation for Clone but forgot to import it. Here's the error I got initially:
After importing core, this came next:
It's a bit misleading to suggest core and not the std library version of it.
The text was updated successfully, but these errors were encountered: