You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tomBoddaert opened this issue
Jan 2, 2024
· 0 comments
· Fixed by #119769
Assignees
Labels
C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
This ICE only occurs when running cargo doc or rustdoc src/main.rs with nightly. Defining the PartialEq trait manually did not trigger this, only the PartialEq in std/alloc/core.
Running a quick search on nightly versions, nightly-2023-12-11 (d86d65bbc 2023-12-10) works and nightly-2023-12-12 (21cce21d8 2023-12-11) fails with a similar backtrace (some items have been renamed / moved).
The text was updated successfully, but these errors were encountered:
tomBoddaert
added
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Jan 2, 2024
fmease
added
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
and removed
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Jan 2, 2024
Rollup merge of rust-lang#119769 - fmease:rustdoc-off-by-one-dyn-trait-def-gen-args, r=GuillaumeGomez
rustdoc: offset generic args of cross-crate trait object types when cleaning
Fixesrust-lang#119529.
This PR contains several refactorings apart from the bug fix.
Best reviewed commit by commit.
r? GuillaumeGomez
C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
rustc-ice file
This ICE only occurs when running
cargo doc
orrustdoc src/main.rs
with nightly. Defining thePartialEq
trait manually did not trigger this, only thePartialEq
instd/alloc/core
.Running a quick search on nightly versions,
nightly-2023-12-11 (d86d65bbc 2023-12-10)
works andnightly-2023-12-12 (21cce21d8 2023-12-11)
fails with a similar backtrace (some items have been renamed / moved).The text was updated successfully, but these errors were encountered: