rustdoc: mask compiler_builtins docs by euclio · Pull Request #58448 · rust-lang/rust (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation5 Commits1 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

euclio

Fixes #46783.

I wasn't able to fully confirm the underlying cause, but my theory is that functions in compiler_builtins were overwriting functions with the same names in libcore in the search index. Since the functions in compiler_builtins didn't have docs, that's why they weren't appearing in the results.

Masking the compiler_builtins crate fixes the search results. It appears that this crate was accidentally unmasked in #49503.

@euclio

Since compiler_builtins is being injected automatically, its docs aren't masked. This commit masks the crate's docs if it's brought in as an extern crate.

@rust-highfive

r? @steveklabnik

(rust_highfive has picked a reviewer for you, use r? to override)

@euclio

QuietMisdreavus

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks!

@QuietMisdreavus

@bors

📌 Commit f565efd has been approved by QuietMisdreavus

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Feb 14, 2019

Centril added a commit to Centril/rust that referenced this pull request

Feb 14, 2019

@Centril

…sdreavus

rustdoc: mask compiler_builtins docs

Fixes rust-lang#46783.

I wasn't able to fully confirm the underlying cause, but my theory is that functions in compiler_builtins were overwriting functions with the same names in libcore in the search index. Since the functions in compiler_builtins didn't have docs, that's why they weren't appearing in the results.

Masking the compiler_builtins crate fixes the search results. It appears that this crate was accidentally unmasked in rust-lang#49503.

kennytm added a commit to kennytm/rust that referenced this pull request

Feb 16, 2019

@kennytm

…sdreavus

rustdoc: mask compiler_builtins docs

Fixes rust-lang#46783.

I wasn't able to fully confirm the underlying cause, but my theory is that functions in compiler_builtins were overwriting functions with the same names in libcore in the search index. Since the functions in compiler_builtins didn't have docs, that's why they weren't appearing in the results.

Masking the compiler_builtins crate fixes the search results. It appears that this crate was accidentally unmasked in rust-lang#49503.

bors added a commit that referenced this pull request

Feb 16, 2019

@bors

Rollup of 19 pull requests

Successful merges:

bors added a commit that referenced this pull request

Feb 17, 2019

@bors

Rollup of 19 pull requests

Successful merges:

@euclio euclio deleted the missing-summaries branch

February 21, 2019 15:30

Labels

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.