]> git.lizzy.rs Git - rust.git/commit
Auto merge of #69793 - estebank:predicate-obligations-4, r=nikomatsakis
authorbors <bors@rust-lang.org>
Sun, 19 Apr 2020 06:42:51 +0000 (06:42 +0000)
committerbors <bors@rust-lang.org>
Sun, 19 Apr 2020 06:42:51 +0000 (06:42 +0000)
commite7497a8ccb8885823e413f4e3a54412812b60528
treef69613df3cbbb3e6972e9cee0b6efabc9e82d922
parenta0e52b1e82472e4890202082a0482b178f9d6a16
parentd9a5419ef4f0af07cbf62a5a4a6b002b9d6bcabd
Auto merge of #69793 - estebank:predicate-obligations-4, r=nikomatsakis

 Maintain chain of derived obligations

When evaluating the derived obligations from super traits, maintain a
reference to the original obligation in order to give more actionable
context in the output.

Continuation (and built on) #69745, subset of #69709.

r? @eddyb
src/librustc_trait_selection/traits/error_reporting/suggestions.rs
src/librustc_typeck/astconv.rs