]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #89323 - estebank:derive-binop, r=petrochenkov
authorbors <bors@rust-lang.org>
Wed, 6 Oct 2021 06:20:25 +0000 (06:20 +0000)
committerbors <bors@rust-lang.org>
Wed, 6 Oct 2021 06:20:25 +0000 (06:20 +0000)
Consider unfulfilled obligations in binop errors

When encountering a binop where the types would have been accepted, if
all the predicates had been fulfilled, include information about the
predicates and suggest appropriate `#[derive]`s if possible.

Fix #84515.


No differences found