Replace all uses of path.res.def_id() with path.def_id()

This commit is contained in:
Noah Lev
2021-08-28 20:46:53 -07:00
parent 82b52e1951
commit 962e451443
10 changed files with 19 additions and 19 deletions

View File

@@ -2389,7 +2389,7 @@ fn collect_paths_for_type(first_ty: clean::Type, cache: &Cache) -> Vec<String> {
}
clean::Type::QPath { self_type, trait_, .. } => {
work.push_back(*self_type);
process_path(trait_.res.def_id());
process_path(trait_.def_id());
}
_ => {}
}