We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a162b0 commit 70920c6Copy full SHA for 70920c6
src/librustdoc/clean/mod.rs
@@ -1292,7 +1292,7 @@ fn clean_qpath(hir_ty: &hir::Ty<'_>, cx: &mut DocContext<'_>) -> Type {
1292
};
1293
Type::QPath {
1294
name: p.segments.last().expect("segments were empty").ident.name,
1295
- self_def_id: Some(DefId::local(qself.hir_id.owner.local_def_index)),
+ self_def_id: Some(DefId::local(qself.hir_id.owner.def_id.local_def_index)),
1296
self_type: box qself.clean(cx),
1297
trait_: box resolve_type(cx, trait_path, hir_id),
1298
}
0 commit comments