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

diagnostics for E0432: imports are relative to crate root #33320

Merged
merged 1 commit into from
May 3, 2016

Conversation

birkenfeld
Copy link
Contributor

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).

@rust-highfive
Copy link
Collaborator

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
Copy link
Member

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".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, old Emacs habit :)

@GuillaumeGomez
Copy link
Member

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).
@GuillaumeGomez
Copy link
Member

Thanks!

r=me @steveklabnik

@arielb1
Copy link
Contributor

arielb1 commented May 2, 2016

@bors r+

@bors
Copy link
Contributor

bors commented May 2, 2016

📌 Commit d20b406 has been approved by arielb1

Manishearth added a commit to Manishearth/rust that referenced this pull request May 2, 2016
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).
bors added a commit that referenced this pull request May 2, 2016
Rollup of 14 pull requests

- Successful merges: #32756, #33129, #33225, #33260, #33309, #33320, #33323, #33324, #33325, #33330, #33332, #33334, #33335, #33346
- Failed merges:
Manishearth added a commit to Manishearth/rust that referenced this pull request May 3, 2016
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).
bors added a commit that referenced this pull request May 3, 2016
Rollup of 14 pull requests

- Successful merges: #32756, #33129, #33225, #33260, #33309, #33320, #33323, #33324, #33325, #33330, #33332, #33334, #33335, #33346
- Failed merges:
@bors bors merged commit d20b406 into rust-lang:master May 3, 2016
@birkenfeld birkenfeld deleted the issue31573 branch May 3, 2016 07:15
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.

5 participants