-
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
Add E0659 for ambiguous names #47512
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
📌 Commit e207b0b has been approved by |
@bors r- Travis failed. Please check if the examples will really emit E0659
|
I need to add a main function I think so rustdoc won't wrap them. |
The
|
src/librustc_resolve/diagnostics.rs
Outdated
This error generally appears when two items with the same name are imported in a | ||
same module. In here, the `foo` functions are imported and reexported from the | ||
`collider` module and therefore, when we're using `collider::foo()`, both | ||
functions collide. |
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.
Grammar nits: "are imported in a same module" is incorrect. "are imported into a module" is better. "In here" should just be "Here".
@bors r+ |
📌 Commit f66e711 has been approved by |
Add E0659 for ambiguous names Still on the tracks of the "no error without error code" road.
Add E0659 for ambiguous names Still on the tracks of the "no error without error code" road.
Still on the tracks of the "no error without error code" road.