-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
extern crate foo as bar;
gives outdated & unhelpful error message
#17709
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
Comments
Done ;) |
gamazeps
pushed a commit
to gamazeps/rust
that referenced
this issue
Oct 12, 2014
bors
added a commit
that referenced
this issue
Oct 13, 2014
I did not put the crate name in the error note, if that's necessary I'll look into it. Closes #17709
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Jul 28, 2024
fix: tweak hover/tooltip links close rust-lang/rust-analyzer#17628
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Aug 1, 2024
fix: tweak hover/tooltip links close rust-lang/rust-analyzer#17628
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fails to compile with:
The problem is the
foo
currently needs to be a string:extern crate "foo" as bar
. The error message is referring to=
still (the old syntax), and it could easily be improved to say "maybe you meant to enclosefoo
in a string".The text was updated successfully, but these errors were encountered: