2021-10-06 13:01:43 -07:00
|
|
|
// aux-build:crateresolve1-1.rs
|
|
|
|
// aux-build:crateresolve1-2.rs
|
|
|
|
// aux-build:crateresolve1-3.rs
|
|
|
|
|
|
|
|
// normalize-stderr-test: "\.nll/" -> "/"
|
|
|
|
// normalize-stderr-test: "\\\?\\" -> ""
|
2021-10-12 13:30:15 -07:00
|
|
|
// normalize-stderr-test: "(lib)?crateresolve1-([123])\.[a-z]+" -> "libcrateresolve1-$2.somelib"
|
2021-10-06 13:01:43 -07:00
|
|
|
|
2023-01-05 09:45:44 +01:00
|
|
|
// NOTE: This test is duplicated from `tests/ui/crate-loading/crateresolve1.rs`.
|
2021-10-06 13:01:43 -07:00
|
|
|
|
|
|
|
extern crate crateresolve1;
|
2022-12-22 20:21:43 +13:00
|
|
|
//~^ ERROR multiple candidates for `rlib` dependency `crateresolve1` found
|
2021-10-06 13:01:43 -07:00
|
|
|
|
2022-12-22 20:21:43 +13:00
|
|
|
fn main() {}
|