mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 12:07:40 +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
497 B
Rust
15 lines
497 B
Rust
//@ aux-build:crateresolve1-1.rs
|
|
//@ aux-build:crateresolve1-2.rs
|
|
//@ aux-build:crateresolve1-3.rs
|
|
|
|
//@ normalize-stderr: "E0523\..+/auxiliary/" -> "E0523/auxiliary/"
|
|
//@ normalize-stderr: "\\\?\\" -> ""
|
|
//@ normalize-stderr: "(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() {}
|