mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-29 19:47:38 +00:00

- duplicates of crateresolve1 are used in a couple error-codes tests - also fix the note in crateresolve1 to link to these other duplicates, now that E0523 has been merged into E0464
15 lines
516 B
Rust
15 lines
516 B
Rust
//@ aux-build:crateresolve1-1.rs
|
|
//@ aux-build:crateresolve1-2.rs
|
|
//@ aux-build:crateresolve1-3.rs
|
|
|
|
//@ normalize-stderr: "crateresolve1\..+/auxiliary/" -> "crateresolve1/auxiliary/"
|
|
//@ normalize-stderr: "\\\?\\" -> ""
|
|
//@ normalize-stderr: "(lib)?crateresolve1-([123])\.[a-z]+" -> "libcrateresolve1-$2.somelib"
|
|
|
|
// NOTE: This test is duplicated at `tests/ui/error-codes/E0464.rs` and `E0523.rs`.
|
|
|
|
extern crate crateresolve1;
|
|
//~^ ERROR multiple candidates for `rlib` dependency `crateresolve1` found
|
|
|
|
fn main() {}
|