fix #90187: Replace all def_id_no_primitives with def_id
This commit is contained in:
parent
0dd2703f8a
commit
be9d6335f7
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ use crate::html::render::IndexItem;
|
|||
/// to be a fairly large and expensive structure to clone. Instead this adheres
|
||||
/// to `Send` so it may be stored in an `Arc` instance and shared among the various
|
||||
/// rendering threads.
|
||||
#[derive(Default, Debug)]
|
||||
#[derive(Default)]
|
||||
crate struct Cache {
|
||||
/// Maps a type ID to all known implementations for that type. This is only
|
||||
/// recognized for intra-crate [`clean::Type::Path`]s, and is used to print
|
||||
|
|
|
@ -241,7 +241,7 @@ fn get_index_type_name(clean_type: &clean::Type) -> Option<Symbol> {
|
|||
///
|
||||
/// Important note: It goes through generics recursively. So if you have
|
||||
/// `T: Option<Result<(), ()>>`, it'll go into `Option` and then into `Result`.
|
||||
#[instrument(level = "trace", skip(tcx, res))]
|
||||
#[instrument(level = "trace", skip(tcx, res, cache))]
|
||||
fn add_generics_and_bounds_as_types<'tcx>(
|
||||
generics: &Generics,
|
||||
arg: &Type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue