Skip to content

Conversation

lolbinarycat
Copy link
Contributor

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Sep 22, 2025
@@ -0,0 +1,24 @@
// regression test for https://github.com/rust-lang/rust/issues/146890
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also explain what it's actually testing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really sure what extra info you want. It's testing to make sure this html doesn't cause an ICE. I understand what the bug was, but I don't entirely understand why it's so hard to reproduce.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"This test ensures that bad HTML doesn't trigger an ICE."

@lolbinarycat lolbinarycat force-pushed the rustdoc-invalid_html_tags-ice-146890 branch from cdc0068 to aeeeec3 Compare September 22, 2025 18:18
@GuillaumeGomez
Copy link
Member

Thanks! r=me once CI pass

@rust-log-analyzer

This comment has been minimized.

@lolbinarycat lolbinarycat force-pushed the rustdoc-invalid_html_tags-ice-146890 branch from aeeeec3 to 82c4018 Compare September 22, 2025 19:57
@lolbinarycat
Copy link
Contributor Author

@bors r=GuillaumeGomez rollup

@bors
Copy link
Collaborator

bors commented Sep 24, 2025

📌 Commit 82c4018 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 24, 2025
Zalathar added a commit to Zalathar/rust that referenced this pull request Sep 24, 2025
…tags-ice-146890, r=GuillaumeGomez

fix ICE in rustdoc::invalid_html_tags

fixes rust-lang#146890

r? `@GuillaumeGomez`
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Sep 24, 2025
…tags-ice-146890, r=GuillaumeGomez

fix ICE in rustdoc::invalid_html_tags

fixes rust-lang#146890

r? ``@GuillaumeGomez``
bors added a commit that referenced this pull request Sep 24, 2025
Rollup of 9 pull requests

Successful merges:

 - #146711 (fix 2 borrowck issues)
 - #146735 (unstably constify float mul_add methods)
 - #146857 (revert change removing `has_infer` check. Commit conservatively patch…)
 - #146897 (fix ICE in rustdoc::invalid_html_tags)
 - #146915 (Make missed precondition-free float intrinsics safe)
 - #146932 (Switch next-solver related rustc dependencies of r-a to crates.io ones)
 - #146959 (temporary-lifetime-extension-tuple-ctor.rs: make usable on all editions)
 - #146964 (library: std: sys: pal: uefi: Add some comments)
 - #146969 (const-eval: better wording for errors involving maybe-null pointers)

r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit that referenced this pull request Sep 24, 2025
Rollup of 8 pull requests

Successful merges:

 - #146711 (fix 2 borrowck issues)
 - #146857 (revert change removing `has_infer` check. Commit conservatively patch…)
 - #146897 (fix ICE in rustdoc::invalid_html_tags)
 - #146915 (Make missed precondition-free float intrinsics safe)
 - #146932 (Switch next-solver related rustc dependencies of r-a to crates.io ones)
 - #146959 (temporary-lifetime-extension-tuple-ctor.rs: make usable on all editions)
 - #146964 (library: std: sys: pal: uefi: Add some comments)
 - #146969 (const-eval: better wording for errors involving maybe-null pointers)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 4e225ee into rust-lang:master Sep 24, 2025
10 checks passed
@rustbot rustbot added this to the 1.92.0 milestone Sep 24, 2025
rust-timer added a commit that referenced this pull request Sep 24, 2025
Rollup merge of #146897 - lolbinarycat:rustdoc-invalid_html_tags-ice-146890, r=GuillaumeGomez

fix ICE in rustdoc::invalid_html_tags

fixes #146890

r? ```@GuillaumeGomez```
github-actions bot pushed a commit to rust-lang/rust-analyzer that referenced this pull request Sep 25, 2025
Rollup of 8 pull requests

Successful merges:

 - rust-lang/rust#146711 (fix 2 borrowck issues)
 - rust-lang/rust#146857 (revert change removing `has_infer` check. Commit conservatively patch…)
 - rust-lang/rust#146897 (fix ICE in rustdoc::invalid_html_tags)
 - rust-lang/rust#146915 (Make missed precondition-free float intrinsics safe)
 - rust-lang/rust#146932 (Switch next-solver related rustc dependencies of r-a to crates.io ones)
 - rust-lang/rust#146959 (temporary-lifetime-extension-tuple-ctor.rs: make usable on all editions)
 - rust-lang/rust#146964 (library: std: sys: pal: uefi: Add some comments)
 - rust-lang/rust#146969 (const-eval: better wording for errors involving maybe-null pointers)

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
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Malformed HTML crashes rustdoc
5 participants