We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Say you have a module foo.rs containing a struct Foo; where you've forgot to add a pub.
foo.rs
struct Foo;
pub
When you try to use foo::Foo, you'd get error: failed to resolve import: foo::Foo. This may be puzzling.
use foo::Foo
error: failed to resolve import: foo::Foo
How about a message in the tone of "there is a foo:Foo but that is private, so i am afraid i can't let you use it"?
The text was updated successfully, but these errors were encountered:
Nominating for production ready.
Sorry, something went wrong.
Auto merge of rust-lang#6392 - ebroto:rustup, r=ebroto
84ba08f
Rustup changelog: none r? `@ghost`
No branches or pull requests
Say you have a module
foo.rs
containing astruct Foo;
where you've forgot to add apub
.When you try to
use foo::Foo
, you'd geterror: failed to resolve import: foo::Foo
.This may be puzzling.
How about a message in the tone of "there is a foo:Foo but that is private, so i am afraid i can't let you use it"?
The text was updated successfully, but these errors were encountered: