This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
tests/run-make/crate-loading Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,10 @@ note: there are multiple different versions of crate `dependency` in the depende
64645 | fn foo(&self);
6565 | -------------- the method is available for `dep_2_reexport::Type` here
6666 |
67- ::: multiple-dep-versions.rs:4:32
67+ ::: multiple-dep-versions.rs:4:18
6868 |
69- 4 | use dependency::{do_something, Trait };
70- | ----- `Trait` imported here doesn't correspond to the right version of crate `dependency`"# ,
69+ 4 | use dependency::{Trait, do_something };
70+ | ----- `Trait` imported here doesn't correspond to the right version of crate `dependency`"# ,
7171 )
7272 . assert_stderr_contains (
7373 r#"
@@ -92,9 +92,9 @@ note: there are multiple different versions of crate `dependency` in the depende
92926 | fn bar();
9393 | --------- the associated function is available for `dep_2_reexport::Type` here
9494 |
95- ::: multiple-dep-versions.rs:4:32
95+ ::: multiple-dep-versions.rs:4:18
9696 |
97- 4 | use dependency::{do_something, Trait };
98- | ----- `Trait` imported here doesn't correspond to the right version of crate `dependency`"# ,
97+ 4 | use dependency::{Trait, do_something };
98+ | ----- `Trait` imported here doesn't correspond to the right version of crate `dependency`"# ,
9999 ) ;
100100}
You can’t perform that action at this time.
0 commit comments