Skip to content

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

Closed
@ollie27

Description

@ollie27

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-synthetic-implsArea: Synthetic impls, used by rustdoc to document auto traits and traits with blanket implsC-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions