Skip to content

Fix primitive retrieval in search index generation#74879

Closed
GuillaumeGomez wants to merge 4 commits intorust-lang:masterfrom
GuillaumeGomez:fix-primitive-retrieval-in-search-index-generation
Closed

Fix primitive retrieval in search index generation#74879
GuillaumeGomez wants to merge 4 commits intorust-lang:masterfrom
GuillaumeGomez:fix-primitive-retrieval-in-search-index-generation

Conversation

@GuillaumeGomez
Copy link
Copy Markdown
Member

@GuillaumeGomez GuillaumeGomez commented Jul 28, 2020

Part of #60485. Fixes #74780.

Before merging, I have a few questions remaining:

Should we remove the primitive_locations field from the Cache type? If so, we'll have to replace in the few places where we use this field (not really a problem). However, this field includes the primitive types of the current crates, whereas my new implementation only includes the ones coming from external crates. I'm not sure if it'll be an issue for libcore or not (maybe not since they can be retrieved directly inside the crate, no?).

EDIT: I removed the primitive_locations field from the Cache type, so now we're only referring/using the new "primitives cache" added by this PR.

cc @rust-lang/rustdoc

r? @Manishearth

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rustdoc-search Area: Rustdoc's search feature A-type-based-search Area: Searching rustdoc pages using type signatures S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type-based search does not work for primitives since March

9 participants