Auto merge of #90385 - mfrw:mfrw/librustdoc, r=GuillaumeGomez
rustdoc: use Type::def_id() instead of Type::def_id_no_primitives() For: #90187 r? `@jyn514`
This commit is contained in:
commit
b416e3892d
4 changed files with 29 additions and 17 deletions
|
@ -2166,7 +2166,7 @@ fn sidebar_deref_methods(
|
|||
}
|
||||
|
||||
// Recurse into any further impls that might exist for `target`
|
||||
if let Some(target_did) = target.def_id_no_primitives() {
|
||||
if let Some(target_did) = target.def_id(c) {
|
||||
if let Some(target_impls) = c.impls.get(&target_did) {
|
||||
if let Some(target_deref_impl) = target_impls.iter().find(|i| {
|
||||
i.inner_impl()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue