rust-lang / rust-lang/rust

[ICE]: rustdoc ICE due to doc-scrape-examples

Open
#159,794 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-rustdoc-scrape-examples C-bug I-ICE T-rustdoc
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

oximo docs deployment failed due to a panic.
I could reproduce the issue in rustdoc 1.99.0-nightly. It crashes during rendering of scraped call sites in the baron_robot.rs example.

This was fixed in https://github.com/oximo-rs/oximo/commit/e36d8ab708b8508962c2cf232a9a77b1cbfdb99f.

I am not exactly sure what is causing this error

Meta
rustc 1.99.0-nightly (d0babd8b6 2026-07-15) running on x86_64-unknown-linux-gnu
Error output

See https://docs.rs/crate/oximo/latest/builds/3924233

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the rustdoc 1.99.0-nightly crash using the oximo deployment and the crates/oximo/examples/baron_robot.rs example. Inspect the linked error output and compare the behavior with the referenced oximo commit; done means identifying the doc-scrape-examples cause and preventing the rustdoc ICE, with coverage for the regression.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.