-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
ICE: rustdoc: json output and #[doc(inline)]
#110138
Labels
A-rustdoc-json
Area: Rustdoc JSON backend
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Comments
Or even simpler: #[doc(inline)]
pub extern crate core; |
#[doc(inline)]
#[doc(inline)]
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Apr 11, 2023
fix(doc): do not parse inline when output is json for external crate relative rust-lang#110138
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Apr 11, 2023
fix(doc): do not parse inline when output is json for external crate relative rust-lang#110138
Fixed by #110146. |
jyn514
added a commit
to jyn514/rust
that referenced
this issue
Apr 26, 2023
…=jyn514 Improve tests for rust-lang#110138 These should live in rustdoc-json, not rustdoc-ui, so we can run assertions, and not just check there's no ICE CC rust-lang#100515, as we never document this suite r? rustdoc
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Apr 26, 2023
Rollup of 9 pull requests Successful merges: - rust-lang#108416 (black_box doc corrections for clarification - Issue rust-lang#107957) - rust-lang#109379 (Replace `yes` command by `while-echo` in test `tests/ui/process/process-sigpipe.rs`) - rust-lang#110266 (Update documentation wording on path 'try_exists' functions) - rust-lang#110329 (Improve tests for rust-lang#110138) - rust-lang#110418 (Spelling rustdoc) - rust-lang#110587 (Fix `std` compilation error for wasi+atomics) - rust-lang#110594 (`rustc --help` add `--cfg` SPEC declaration.) - rust-lang#110792 (Use the standard macOS CI runner) - rust-lang#110817 (Add regression tests for const-generic inherent associated types) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-rustdoc-json
Area: Rustdoc JSON backend
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
rustdoc rd.rs -Zunstable-options --output-format json
I expected to see this happen: explanation
Instead, this happened: explanation
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: