-
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
diagnostics for E0432: imports are relative to crate root #33320
Conversation
r? @arielb1 (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -916,19 +916,21 @@ An import was unresolved. Erroneous code example: | |||
use something::Foo; // error: unresolved import `something::Foo`. | |||
``` | |||
|
|||
Please verify you didn't misspell the import name or the import does exist | |||
in the module from where you tried to import it. Example: | |||
Paths in `use` statements are relative to the crate root. To import items |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra whitespace before "To import items".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, old Emacs habit :)
Thans for your work. Please fix the nit then squash and good to get merged! |
This is curiously missing from both the short message and this long diagnostic. Refs rust-lang#31573 (not sure if it should be considered "fixed" as the short message still only refers to extern crates).
Thanks! r=me @steveklabnik |
@bors r+ |
📌 Commit d20b406 has been approved by |
diagnostics for E0432: imports are relative to crate root This is curiously missing from both the short message and this long diagnostic. Refs rust-lang#31573 (not sure if it should be considered "fixed" as the short message still only refers to extern crates).
diagnostics for E0432: imports are relative to crate root This is curiously missing from both the short message and this long diagnostic. Refs rust-lang#31573 (not sure if it should be considered "fixed" as the short message still only refers to extern crates).
This is curiously missing from both the short message and this long diagnostic.
Refs #31573 (not sure if it should be considered "fixed" as the short message still only refers to extern crates).