]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #90709 - estebank:erase-known-type-params, r=nagisa
authorMatthias Krüger <matthias.krueger@famsik.de>
Wed, 8 Dec 2021 15:08:06 +0000 (16:08 +0100)
committerGitHub <noreply@github.com>
Wed, 8 Dec 2021 15:08:06 +0000 (16:08 +0100)
commit7970fab252f1bde4bba96142d0843747c6e9b4ad
treefca38778b5422dc93c273b2a7309d28dac6a50ea
parent4459e720bee5a741b962cfcd6f0593b32dc19009
parent7271d1f803ba4a2f850d19c570d04993b61881a9
Rollup merge of #90709 - estebank:erase-known-type-params, r=nagisa

Only shown relevant type params in E0283 label

When we point at a binding to suggest giving it a type, erase all the
type for ADTs that have been resolved, leaving only the ones that could
not be inferred. For small shallow types this is not a problem, but for
big nested types with lots of params, this can otherwise cause a lot of
unnecessary visual output.