Skip to content

Commit 70920c6

Browse files
committed
fix
1 parent 3a162b0 commit 70920c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/clean/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ fn clean_qpath(hir_ty: &hir::Ty<'_>, cx: &mut DocContext<'_>) -> Type {
12921292
};
12931293
Type::QPath {
12941294
name: p.segments.last().expect("segments were empty").ident.name,
1295-
self_def_id: Some(DefId::local(qself.hir_id.owner.local_def_index)),
1295+
self_def_id: Some(DefId::local(qself.hir_id.owner.def_id.local_def_index)),
12961296
self_type: box qself.clean(cx),
12971297
trait_: box resolve_type(cx, trait_path, hir_id),
12981298
}

0 commit comments

Comments
 (0)