-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rustdoc: assertion failed: !name.is_empty() #140026
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Comments
Minimized to: /// [`String::`]
pub struct Foo; @rustbot label -E-needs-mcve |
I've bisected that repro just running it with: cc @nnethercote and @fee1-dead for #139669 bisected with cargo-bisect-rustc v0.6.9Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --without-cargo --preserve --start 1.85.0 --script test.sh |
mis-ping, I didn't review that one ;-) |
Taking a look. |
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Apr 19, 2025
Opened #140052. |
jhpratt
added a commit
to jhpratt/rust
that referenced
this issue
Apr 21, 2025
…ercote Fix error when an intra doc link is trying to resolve an empty associated item Fixes rust-lang#140026. Assigning `@nnethercote` since they're the one who wrote the initial change. I updated rustdoc code instead of compiler's because I think it makes more sense that the caller ensures on their side that the name they're looking for isn't empty. r? `@nnethercote`
jieyouxu
added a commit
to jieyouxu/rust
that referenced
this issue
Apr 21, 2025
…ercote Fix error when an intra doc link is trying to resolve an empty associated item Fixes rust-lang#140026. Assigning ``@nnethercote`` since they're the one who wrote the initial change. I updated rustdoc code instead of compiler's because I think it makes more sense that the caller ensures on their side that the name they're looking for isn't empty. r? ``@nnethercote``
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Apr 21, 2025
Rollup merge of rust-lang#140052 - GuillaumeGomez:fix-140026, r=nnethercote Fix error when an intra doc link is trying to resolve an empty associated item Fixes rust-lang#140026. Assigning ```@nnethercote``` since they're the one who wrote the initial change. I updated rustdoc code instead of compiler's because I think it makes more sense that the caller ensures on their side that the name they're looking for isn't empty. r? ```@nnethercote```
github-actions bot
pushed a commit
to rust-lang/miri
that referenced
this issue
Apr 22, 2025
Fix error when an intra doc link is trying to resolve an empty associated item Fixes rust-lang/rust#140026. Assigning ```@nnethercote``` since they're the one who wrote the initial change. I updated rustdoc code instead of compiler's because I think it makes more sense that the caller ensures on their side that the name they're looking for isn't empty. r? ```@nnethercote```
github-actions bot
pushed a commit
to rust-lang/rustc-dev-guide
that referenced
this issue
Apr 24, 2025
Fix error when an intra doc link is trying to resolve an empty associated item Fixes rust-lang/rust#140026. Assigning ```@nnethercote``` since they're the one who wrote the initial change. I updated rustdoc code instead of compiler's because I think it makes more sense that the caller ensures on their side that the name they're looking for isn't empty. r? ```@nnethercote```
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
Code
Run
cargo +nightly doc
on:Original non-minimal repro
Meta
rustc --version --verbose
:Error output
@rustbot label +regression-from-stable-to-nightly
The text was updated successfully, but these errors were encountered: