Skip to content

x.py build passing with parse error in file #58826

Closed
@euclio

Description

@euclio

Discovered while working on #58824.

Notice that travis passed for x86_64-gnu-llvm-6.0, but failed for mingw-check. It shouldn't pass -- there's a parse error. The build passes locally for me using ./x.py test --bless src/test/rustdoc-ui but ./build/x86_64-unknown-linux-gnu/stage2/bin/rustc -Z parse-only src/librustdoc/passes/collect_intra_doc_links.rs fails. I wonder if this is a bug in rustbuild or cargo?

No success in minimizing this, but I am able to consistently reproduce it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions