Skip to content

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

Closed

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

Activity

  1. added
    C-bug
    on Apr 7, 2020
  2. added
    T-rustdoc
    on Apr 7, 2020
  3. added
    regression-from-stable-to-nightly
    on Apr 7, 2020
  4. jonas-schievink commented on Apr 7, 2020

    @jonas-schievink
    Contributor

    cc @rust-lang/rustdoc

  5. tmiasko commented on Apr 7, 2020

    @tmiasko
    Contributor

    Fixed upstream in pulldown-cmark/pulldown-cmark#438, but not released yet.

  6. GuillaumeGomez commented on Apr 10, 2020

    @GuillaumeGomez
    Member

    Let's hope next version will be released soon then! :)

  7. ollie27 commented on Apr 18, 2020

    @ollie27
    Contributor

    Unfortunately this also affects 1.43 beta.

  8. added
    regression-from-stable-to-beta
    and removed
    regression-from-stable-to-nightly
    on Apr 18, 2020
  9. Mark-Simulacrum commented on Apr 18, 2020

    @Mark-Simulacrum
    Member

    Hm so this will hit stable in less than a week then. Do we consider it high priority enough to try to push through a release ourselves? (e.g. we can temporarily fork or whatever, perhaps only on the beta branch).

    I personally lean towards no but wouldn't be opposed to doing so if t-rustdoc wanted to.

  10. sjackman commented on Apr 29, 2020

    @sjackman

    This issue halted development at our company for a day until we bisected the issue down to the particular line of code (a comment) that was causing cargo test to hang indefinitely. 😢

    Thank you for all of your hard work on Rust. It is my most favourite language. I've been waiting for a suitable replacement for C++, and it has arrived! 😁

  11. added
    regression-from-stable-to-stable
    and removed
    regression-from-stable-to-beta
    on Apr 29, 2020
  12. Mark-Simulacrum commented on Apr 29, 2020

    @Mark-Simulacrum
    Member

    Looks like there's movement on a point release, pulldown-cmark/pulldown-cmark#439.

    I would be in favor of backporting this to beta, since it's a really painful bug to hit...

  13. ehuss commented on Apr 29, 2020

    @ehuss
    Contributor

    Yea, PR to update is up at #71682.

  14. added a commit that references this issue on Apr 30, 2020
    8192cb6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugT-rustdocregression-from-stable-to-stable

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions