-
Notifications
You must be signed in to change notification settings - Fork 13.3k
compile error with uniform_paths: the name _
is defined multiple times
#53691
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
Comments
I have a similar problem, except that the error message says type namespace, and it provides no information I can use for debugging. error[E0428]: the name `_` is defined multiple times
|
= note: `_` must be defined only once in the type namespace of this module |
Duplicate of #53484. |
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Sep 7, 2018
rustc_resolve: don't record uniform_paths canaries as reexports. Fixes rust-lang#53691, fixes rust-lang#53484.
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Sep 8, 2018
rustc_resolve: don't record uniform_paths canaries as reexports. Fixes rust-lang#53691, fixes rust-lang#53484.
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Sep 8, 2018
rustc_resolve: don't record uniform_paths canaries as reexports. Fixes rust-lang#53691, fixes rust-lang#53484.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cargo.toml
src/lib.rs
src/bin/foo.rs
Compile error:
Notes:
Building only the library with
cargo build --lib
works. Only the binary fails to build. Iflog::*
is changed to e.g.log::info
then compilation succeeds.The error message doesn't provide enough information about which symbols are considered duplicate, as neither crate appears to have a macro named
_
, and in any case I am only importing thelazy_static
macro from thelazy_static
crate.rustc version:
rustc 1.30.0-nightly (63d66494a 2018-08-23)
The text was updated successfully, but these errors were encountered: