1 #### Note: this error code is no longer emitted by the compiler.
3 The compiler found multiple library files with the requested crate name.
6 // aux-build:crateresolve-1.rs
7 // aux-build:crateresolve-2.rs
8 // aux-build:crateresolve-3.rs
10 extern crate crateresolve;
11 //~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found
16 This error can occur in several different cases -- for example, when using
17 `extern crate` or passing `--extern` options without crate paths. It can also be
18 caused by caching issues with the build directory, in which case `cargo clean`
21 In the above example, there are three different library files, all of which
22 define the same crate name. Without providing a full path, there is no way for
23 the compiler to know which crate it should use.
25 *Note that E0523 has been merged into E0464.*