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