Skip to content
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 and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript TypeError: synthetic_implementors is null error on some trait pages #68584

Closed
ollie27 opened this issue Jan 27, 2020 · 1 comment · Fixed by #68598
Closed

JavaScript TypeError: synthetic_implementors is null error on some trait pages #68584

ollie27 opened this issue Jan 27, 2020 · 1 comment · Fixed by #68598
Labels
A-synthetic-impls Area: Synthetic impls, used by rustdoc to document auto traits and traits with blanket impls C-bug Category: This is a bug. regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@ollie27
Copy link
Member

ollie27 commented Jan 27, 2020

For example on the nightly docs https://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html:

TypeError: synthetic_implementors is null main1.42.0.js:1:34607
    register_implementors https://doc.rust-lang.org/nightly/main1.42.0.js:1
    <anonymous> https://doc.rust-lang.org/nightly/main1.42.0.js:1
    <anonymous> https://doc.rust-lang.org/nightly/main1.42.0.js:7
ReferenceError: addSearchOptions is not defined search-index1.42.0.js:7:1
    <anonymous> https://doc.rust-lang.org/nightly/search-index1.42.0.js:7

Additionally most of the documentation doesn't load (but not every time):

image

I suspect this was caused by #68192 (cc @GuillaumeGomez).

@ollie27 ollie27 added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. C-bug Category: This is a bug. A-synthetic-impls Area: Synthetic impls, used by rustdoc to document auto traits and traits with blanket impls labels Jan 27, 2020
@ollie27 ollie27 changed the title Javascript TypeError: synthetic_implementors is null error on some trait pages JavaScript TypeError: synthetic_implementors is null error on some trait pages Jan 27, 2020
@GuillaumeGomez
Copy link
Member

Very likely. I'll check how to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-synthetic-impls Area: Synthetic impls, used by rustdoc to document auto traits and traits with blanket impls C-bug Category: This is a bug. regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants