Skip to content

Commit be9d633

Browse files
zredbGuillaumeGomez
authored andcommitted
fix rust-lang#90187: Replace all def_id_no_primitives with def_id
1 parent 0dd2703 commit be9d633

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustdoc/formats/cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use crate::html::render::IndexItem;
2525
/// to be a fairly large and expensive structure to clone. Instead this adheres
2626
/// to `Send` so it may be stored in an `Arc` instance and shared among the various
2727
/// rendering threads.
28-
#[derive(Default, Debug)]
28+
#[derive(Default)]
2929
crate struct Cache {
3030
/// Maps a type ID to all known implementations for that type. This is only
3131
/// recognized for intra-crate [`clean::Type::Path`]s, and is used to print

src/librustdoc/html/render/search_index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ fn get_index_type_name(clean_type: &clean::Type) -> Option<Symbol> {
241241
///
242242
/// Important note: It goes through generics recursively. So if you have
243243
/// `T: Option<Result<(), ()>>`, it'll go into `Option` and then into `Result`.
244-
#[instrument(level = "trace", skip(tcx, res))]
244+
#[instrument(level = "trace", skip(tcx, res, cache))]
245245
fn add_generics_and_bounds_as_types<'tcx>(
246246
generics: &Generics,
247247
arg: &Type,

0 commit comments

Comments
 (0)