1
Fork 0

IAT: Rustdoc integration

This commit is contained in:
León Orell Valerian Liehr 2023-03-29 03:24:35 +02:00
parent 46ec348611
commit 61e1eda6db
No known key found for this signature in database
GPG key ID: D17A07215F68E713
11 changed files with 183 additions and 40 deletions

View file

@ -2202,7 +2202,9 @@ fn collect_paths_for_type(first_ty: clean::Type, cache: &Cache) -> Vec<String> {
}
clean::Type::QPath(box clean::QPathData { self_type, trait_, .. }) => {
work.push_back(self_type);
process_path(trait_.def_id());
if let Some(trait_) = trait_ {
process_path(trait_.def_id());
}
}
_ => {}
}