Skip to content

'<' followed by a letter makes cargo doc hang on nightly #70871

Closed
@tiby312

Description

@tiby312

If I run cargo doc on the below code, it never finishes.

///<a
fn main() {
    println!("Hello, world!");
}

I expected to see it finish.

Problem does not exist on stable

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions