mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
c6bb219fc4
Skip pointing out ambiguous impls in alloc/std crates too in inference errors This generalizes the logic in `annotate_source_of_ambiguity` to skip printing ambiguity errors traits in `alloc` and `std` as well, not just `core`. While this does spot-fix the issue mentioned below, it would be nicer to generalize this logic, for example to detect when the trait predicate's `self_ty` has any numerical inference variables. Is it worthwhile to scrap this solution for one like that? Fixes #93450 r? `@estebank` feel free to reassign |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |