]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #91366 - notriddle:notriddle/only-show-notable-if-types-are-the-same...
authorMatthias Krüger <matthias.krueger@famsik.de>
Tue, 30 Nov 2021 22:43:32 +0000 (23:43 +0100)
committerGitHub <noreply@github.com>
Tue, 30 Nov 2021 22:43:32 +0000 (23:43 +0100)
Only show notable traits if both types are the same

Checking only their DefId doesn't work because all slices have the same
fake DefId.

Fixes #91347


Trivial merge