mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-16 09:19:58 +00:00

Instead of probing for all possible impls that could have caused an `ImplObligation`, keep track of its `DefId` and obligation spans for accurate error reporting. Follow up to #89580. Addresses #89418. Remove some unnecessary clones. Tweak output for auto trait impl obligations.