Files
rust/tests/ui/traits/auxiliary
Romain Perier b25336b010 Untruthful multiple different versions of a crate in the dependency graph
Currently, If `expected_def_id` and `another_trait_def_id` have their
crate imported as ExternCrateSource::Path the method
get_extern_crate_renamed_symbol() will return None for both, resulting
in a false positive. This fixes the issue by using a slitly different
approach, we use a predicate instead and do the comparison of the item
names only when both crates are imported as ExternCrateSource::Extern and
are direct dependencies of the LOCAL_CRATE, otherwise false is returned.
2025-11-26 15:59:55 +01:00
..