mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
2bcd4e256a
Adds the extended error documentation for E0523 to indicate that the error is no longer produced by the compiler. Update the E0464 documentation to include example code that produces the error. Remove the error message E0523 from the compiler and replace it with an internal compiler error.
15 lines
477 B
Rust
15 lines
477 B
Rust
// aux-build:crateresolve1-1.rs
|
|
// aux-build:crateresolve1-2.rs
|
|
// aux-build:crateresolve1-3.rs
|
|
|
|
// normalize-stderr-test: "\.nll/" -> "/"
|
|
// normalize-stderr-test: "\\\?\\" -> ""
|
|
// normalize-stderr-test: "(lib)?crateresolve1-([123])\.[a-z]+" -> "libcrateresolve1-$2.somelib"
|
|
|
|
// NOTE: This test is duplicated from `tests/ui/crate-loading/crateresolve1.rs`.
|
|
|
|
extern crate crateresolve1;
|
|
//~^ ERROR multiple candidates for `rlib` dependency `crateresolve1` found
|
|
|
|
fn main() {}
|