]> git.lizzy.rs Git - rust.git/commit
Auto merge of #91030 - estebank:trait-bounds-are-tricky-2, r=oli-obk
authorbors <bors@rust-lang.org>
Thu, 24 Mar 2022 10:24:54 +0000 (10:24 +0000)
committerbors <bors@rust-lang.org>
Thu, 24 Mar 2022 10:24:54 +0000 (10:24 +0000)
commitd2df372bca13bb60979c909660e69f2451630e81
tree5f4458edaba82af2e8c00032ad97bd268879dd24
parent600a80dedf71ce02e778e59f4884866c3030c819
parent5fd37862d95a7fd898342e49ae5273edc8886b83
Auto merge of #91030 - estebank:trait-bounds-are-tricky-2, r=oli-obk

Properly track `ImplObligations`

Instead of probing for all possible `impl`s that could have caused an
`ImplObligation`, keep track of its `DefId` and obligation spans for
accurate error reporting.

Follow to #89580. Addresses #89418.
compiler/rustc_trait_selection/src/traits/select/mod.rs