]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #106208 - compiler-errors:compare-item-region-err, r=estebank
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 29 Dec 2022 12:16:02 +0000 (13:16 +0100)
committerGitHub <noreply@github.com>
Thu, 29 Dec 2022 12:16:02 +0000 (13:16 +0100)
Make trait/impl `where` clause mismatch on region error a bit more actionable

Improve `where` clause suggestions for GATs/methods that have incompatible region predicates in their `where` clauses.

Also addresses this diagnostic that went away https://github.com/rust-lang/rust/pull/106129#discussion_r1056875772


Trivial merge