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
--explain
See E0659 for the current text.
It includes the following example:
pub mod moon { pub fn foo() {} } pub mod earth { pub fn foo() {} } mod collider { pub use moon::*; pub use earth::*; } fn main() { collider::foo(); // ERROR: `foo` is ambiguous }
which needs updating for Rust 2018: it needs crate:: or parent:: adding inside mod collider.
crate::
parent::
mod collider
The same is true in the recommended replacement.
The text was updated successfully, but these errors were encountered:
cc @GuillaumeGomez
Sorry, something went wrong.
Rollup merge of rust-lang#65691 - GuillaumeGomez:2018-edition-E0659, …
9bcebab
…r=Dylan-DPC Update E0659 error code long explanation to 2018 edition Fixes rust-lang#65571 r? @Centril
ba9a9eb
GuillaumeGomez
Successfully merging a pull request may close this issue.
See E0659 for the current text.
It includes the following example:
which needs updating for Rust 2018: it needs
crate::
orparent::
adding insidemod collider
.The same is true in the recommended replacement.
The text was updated successfully, but these errors were encountered: