]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #86943 - ptrojahn:suggest_derive, r=estebank
authorbors <bors@rust-lang.org>
Wed, 8 Sep 2021 07:27:41 +0000 (07:27 +0000)
committerbors <bors@rust-lang.org>
Wed, 8 Sep 2021 07:27:41 +0000 (07:27 +0000)
commit434cb437b55d61bcb54a01921de7ac752e6dee13
tree845babdaf6bd27957d622788e08029592ca833fe
parent72969f6526b6a3ff9f2bbfe73e26249d977794e7
parent50e5f90c925b411bac7de0ec3ec239d7d321b5a2
Auto merge of #86943 - ptrojahn:suggest_derive, r=estebank

Suggest deriving traits if possible

This only applies to builtin derives as I don't think there is a
clean way to get the available derives in typeck.

Closes #85851
compiler/rustc_typeck/src/check/method/suggest.rs