-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustdoc fails at 'not a doc-comment' #15976
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
Labels
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Comments
SimonSapin
added a commit
to servo/rust-mozjs
that referenced
this issue
Jul 25, 2014
... to work around rust-lang/rust#15976
The relevant FIXME is here: rust/src/librustdoc/clean/inline.rs Lines 116 to 119 in 12c334a
|
kevinmehall
added a commit
to kevinmehall/rust
that referenced
this issue
Aug 26, 2014
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Dec 4, 2023
minor: Sync from rust
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apparently,
desugar_doc
tries to callstrip_doc_comment_decoration
to convert to "desugar" a comment that was not "sugared" in the first place.Test case:
This bug is not triggered if the comment is moved to the crate top-level (rather than a module), or when running rustdoc on a.rs directly
a.rs
b.rs
Build commands and output:
The text was updated successfully, but these errors were encountered: