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