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
{{ message }}
Repository navigation
1.100 beta rustdoc crater regression: "called Option::unwrap() on a None value" in librustdoc/clean/mod.rs #164158
A-HIRArea: The high-level intermediate representation (HIR)A-edition-2015Area: The 2015 edition (the first edition)C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️S-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.
This regression was found in the 1.100 beta rustdoc crater run.
[INFO] [stderr] thread 'rustc' (1626) panicked at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/src/librustdoc/clean/mod.rs:3222:36:
[INFO] [stderr] called `Option::unwrap()` on a `None` value
A-HIRArea: The high-level intermediate representation (HIR)A-edition-2015Area: The 2015 edition (the first edition)C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️S-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.
Activity
mejrs commentedon Oct 11, 2026
rust/src/librustdoc/clean/mod.rs
Line 3222 in e3feeb5
Added in #161349
theemathas commentedon Oct 11, 2026
cc @oli-obk (author), @petrochenkov (reviewer)
mejrs commentedon Oct 11, 2026
I can't reproduce it but the
use {*};looks very suspicious https://crates.io/crates/lunarity-ast/0.2.0/code/src/source.rs#L1theemathas commentedon Oct 11, 2026
what the fuck?
14 remaining items
mejrs commentedon Oct 11, 2026
Minimized:
theemathas commentedon Oct 11, 2026
@mejrs Do these two minimizations represent all 4 crates found by crater?
mejrs commentedon Oct 11, 2026
looks that way
these all have smth like
https://github.com/Flemming-DC/Sapi-Rust-2/blob/94ea651c3404ae43875886af0012400932872c6c/src/vendor/bumpalo/boxed.rs#L122-L124
https://github.com/ungtb10d/just/blob/7680b1997973de2c8d5ea1072507cf191e698c04/src/lib.rs#L57
https://crates.io/crates/httpflv/0.4.5/code/src/define.rs#L3
sreekaransrinath commentedon Oct 25, 2026
@rustbot claim
Rollup merge of rust-lang#164883 - sreekaransrinath:rustdoc-empty-nes…
Rollup merge of rust-lang#164883 - sreekaransrinath:rustdoc-empty-nes…
Rollup merge of rust-lang#164883 - sreekaransrinath:rustdoc-empty-nes…
Unrolled build for #164883 in rollup 164928
Rollup merge of #164883 - sreekaransrinath:rustdoc-empty-nested-use, …
Rollup merge of #164883 - sreekaransrinath:rustdoc-empty-nested-use, …