]> git.lizzy.rs Git - rust.git/commitdiff
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)
 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

1  2 
src/librustc_trait_selection/traits/error_reporting/suggestions.rs
src/librustc_typeck/astconv.rs

Simple merge