Skip to content

Rollup of 14 pull requests - #160661

Closed
jhpratt wants to merge 92 commits into
rust-lang:mainfrom
jhpratt:rollup-KqqZ4iG
Closed

Rollup of 14 pull requests#160661
jhpratt wants to merge 92 commits into
rust-lang:mainfrom
jhpratt:rollup-KqqZ4iG

Conversation

@jhpratt

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

GuillaumeGomezand others added 30 commits July 24, 2026 14:21
The essential problem is that, with this table:
```text
one |
----|
a | b | c
a | b |
a | b
a |
```
And this logic:
```rust
let too_many_pipes = divider_count > expected_cells + 1;
```
`expected_cells + 1` winds up as 2, so you get this warning:
```text
error: unused content after last table cell
--> $DIR/invalid_markdown_table.rs:81:14
|
LL | //! a | b | c
| ^^^^^^ this content is discarded
error: unused content after last table cell
--> $DIR/invalid_markdown_table.rs:83:14
|
LL | //! a | b |
| ^^^^ this content is discarded
error: unused content after last table cell
--> $DIR/invalid_markdown_table.rs:85:14
|
LL | //! a | b
| ^^ this content is discarded
```
We really want our warning to give the suggest-escaping flow, like this:
```text
error: table row has too many columns
--> $DIR/invalid_markdown_table.rs:81:13
|
LL | //! a | b | c
| ^ any content after this column divider is discarded
|
= help: to escape `|` characters in tables, add a `\` before them like `\|`
error: table row has too many columns
--> $DIR/invalid_markdown_table.rs:83:13
|
LL | //! a | b |
| ^ any content after this column divider is discarded
|
= help: to escape `|` characters in tables, add a `\` before them like `\|`
error: unused content after last table cell
--> $DIR/invalid_markdown_table.rs:85:14
|
LL | //! a | b
| ^^ this content is discarded
```
By only scanning the text between the end of the last cell and the row,
instead of doing the entire row, we don't have to re-implement as much
of pulldown-cmark's logic.
Add tests for generic function pointers
Change FnPtr tests to use assert_eq!() rather than println!()
don't force intrinsic results into memory
This updates the rust-version file to 7218ebe.
Move command-result printing into a helper and keep CLI loop control at the call site.
Consume Priroda's --dap flag before handing arguments to rustc_driver::run_compiler, then dispatch the freshly-created PrirodaContext to either the existing CLI loop or a new DAP loop stub.
Add FirstUserSourceLocation ResumeMode variant that stops when the
interpreter reaches a user-relevant frame with a source location.
This gives the DAP frontend an entry-stop primitive that skips
Miri-internal and std frames.
@rustbotrustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-rustdoc-json Area: Rustdoc JSON backend O-unix Operating system: Unix-like S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library 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. labels Aug 7, 2026
@jhpratt

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=6

@bors try jobs=dist-various-1,test-various,x86_64-gnu-aux,x86_64-gnu-llvm-21-3,x86_64-msvc-1,aarch64-apple,x86_64-mingw-1,i686-msvc-*

@rust-bors

rust-borsBot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

📌 Commit f2237dd has been approved by jhpratt

It is now in the queue for this repository.

@rust-borsrust-borsBot 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 Aug 7, 2026
@rust-bors

This comment has been minimized.

rust-borsBot pushed a commit that referenced this pull request Aug 7, 2026
Rollup of 14 pull requests
try-job: dist-various-1
try-job: test-various
try-job: x86_64-gnu-aux
try-job: x86_64-gnu-llvm-21-3
try-job: x86_64-msvc-1
try-job: aarch64-apple
try-job: x86_64-mingw-1
try-job: i686-msvc-*
@rust-borsrust-borsBot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Aug 7, 2026
@rust-bors

rust-borsBot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 850a12d failed: CI. Failed job:

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 Compiling askama v0.16.0
Compiling citool v0.1.0 (/home/runner/work/rust/rust/src/ci/citool)
Finished `dev` profile [unoptimized] target(s) in 22.19s
Running `target/debug/citool calculate-job-matrix`
Run type: TryJob { job_patterns: Some(["dist-various-1", "test-various", "x86_64-gnu-aux", "x86_64-gnu-llvm-21-3", "x86_64-msvc-1", "aarch64-apple", "x86_64-mingw-1", "i686-msvc-*"]) }
Error: Failed to calculate job matrix
Caused by:
Patterns `aarch64-apple` did not match any auto jobs
##[error]Process completed with exit code 1.

@jhpratt

Copy link
Copy Markdown
MemberAuthor

@bors try jobs=dist-various-1,test-various,x86_64-gnu-aux,x86_64-gnu-llvm-21-3,x86_64-msvc-1,x86_64-mingw-1,i686-msvc-*

@rust-bors

This comment has been minimized.

rust-borsBot pushed a commit that referenced this pull request Aug 7, 2026
Rollup of 14 pull requests
try-job: dist-various-1
try-job: test-various
try-job: x86_64-gnu-aux
try-job: x86_64-gnu-llvm-21-3
try-job: x86_64-msvc-1
try-job: x86_64-mingw-1
try-job: i686-msvc-*
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job aarch64-gnu-llvm-21-1 failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
208 + warning: table row has too many columns
+ --> $DIR/invalid-html-tags.rs:294:24
+ |
+ LL | /// | <i>`one|two`</i> | `three|four` |
+ | ^ any content after this column divider is discarded
+ |
+ = help: to escape `|` characters in tables, add a `\` before them like `\|`
+ = note: `#[warn(rustdoc::invalid_markdown_table)]` on by default
+ 209 error: unopened HTML tag `div`
210 --> $DIR/invalid-html-tags.rs:304:5
211 |
216 LL | /// </div>
217 | ^^^^^^ this unopened tag
218 - error: aborting due to 31 previous errors
+ error: aborting due to 31 previous errors; 1 warning emitted
220 221 Note: some mismatched output was normalized before being compared
- --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:294:24
+ warning: table row has too many columns
+ --> $DIR/invalid-html-tags.rs:294:24
+ |
+ LL | /// | <i>`one|two`</i> | `three|four` |
+ | ^ any content after this column divider is discarded
+ |
+ = help: to escape `|` characters in tables, add a `\` before them like `\|`
+ = note: `#[warn(rustdoc::invalid_markdown_table)]` on by default
+ + error: aborting due to 31 previous errors; 1 warning emitted
The actual stderr differed from the expected stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args lints/invalid-html-tags.rs`
error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustdoc" "/checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-o" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/rustdoc-ui/lints/invalid-html-tags" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Cdebuginfo=0"
stdout: none
--- stderr -------------------------------
error: unclosed HTML tag `p`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:4:5
|
LL | //! <p>💩<p>
| ^^^
|
note: the lint level is defined here
--> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:1:9
|
LL | #![deny(rustdoc::invalid_html_tags)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unclosed HTML tag `p`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:4:9
|
LL | //! <p>💩<p>
| ^^^
error: unclosed HTML tag `unknown`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:12:5
|
LL | /// <unknown>
| ^^^^^^^^^
error: unclosed HTML tag `script`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:15:5
|
LL | /// <script>
| ^^^^^^^^
error: unopened HTML tag `hello`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:25:5
|
LL | /// </hello>
| ^^^^^^^^
---
error: unclosed HTML tag `p`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:30:14
|
LL | /// <br/> <p>
| ^^^
error: incomplete HTML tag `script`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:46:5
|
LL | /// <script
| ^^^^^^^
error: unclosed HTML tag `div`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:42:5
|
LL | /// <div style="hello">
| ^^^^
error: unclosed HTML tag `h3`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:44:7
|
LL | /// <h3>
| ^^^^
error: incomplete HTML tag `div`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:74:10
|
LL | /// <div></div
| ^^^^^
error: unclosed HTML tag `div`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:74:5
|
LL | /// <div></div
| ^^^^^
error: Unclosed HTML comment
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:89:5
|
LL | /// <!--
| ^^^^
error: unopened HTML tag `unopened-tag`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:116:26
|
LL | /// Web Components style </unopened-tag>
| ^^^^^^^^^^^^^^^
error: unclosed HTML tag `dashed-tags`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:114:26
|
LL | /// Web Components style <dashed-tags>
| ^^^^^^^^^^^^^
error: unclosed HTML tag `a`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:123:19
|
LL | /// backslashed \<<a href="">
| ^^
error: incomplete HTML tag `img`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:157:5
|
LL | /// <img
| ^^^^
error: incomplete HTML tag `img`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:162:8
|
LL | /// <p><img</p>
| ^^^^
error: incomplete HTML tag `img`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:167:7
|
LL | /// > <img
| _______^
LL | | /// > href="#broken"
| |____________________^
error: incomplete HTML tag `br`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:173:5
|
LL | /// <br<br>
| ^^^
error: incomplete HTML tag `br`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:178:5
|
LL | /// <br
| ^^^
error: incomplete HTML tag `p`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:211:5
|
LL | /// <p <!-->foobar</p>
| ^^^
error: Unclosed HTML comment
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:211:8
|
LL | /// <p <!-->foobar</p>
| ^^^^
error: unopened HTML tag `span`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:216:36
|
LL | /// *Improperly <span> nested* HTML</span>
| -------------------------- ^^^^^^^ this unopened tag
| | |
| | does not match this unclosed tag
| because of this Markdown emphasis
error: improperly nested Markdown emphasis
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:223:22
|
LL | /// <span>Improperly *nested </span> HTML*
| -----------------^^^^^^^^^^^^^^^^^^^^^
| |
| because of this HTML `span`
error: unopened HTML tag `span`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:228:43
|
LL | /// <em>Improperly <span> nested</em> HTML</span>
| --------------------------------- ^^^^^^^ this unopened tag
| | |
| | does not match this unclosed tag
| because of this HTML `em`
error: unopened HTML tag `em`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:237:10
|
LL | /// Improperly <em> nested
| ---- does not match this unclosed tag
LL | ///
| - because the Markdown paragraph ends here
LL | /// HTML </em> emphasis
| ^^^^^ this unopened tag
error: unopened HTML tag `svg`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:285:5
|
LL | /// <svg viewBox="0 0 10 10">
| ---- does not match this unclosed tag
...
LL | /// >
| - because the Markdown paragraph is interrupted by this block quote
LL | /// </svg>
| ^^^^^^ this unopened tag
error: unopened HTML tag `i`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:294:19
|
LL | /// | <i>`one|two`</i> | `three|four` |
| --- - ^^^^ this unopened tag
| | |
| | because the Markdown table cell ends here
| does not match this unclosed tag
warning: table row has too many columns
##[warning] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:294:24
|
LL | /// | <i>`one|two`</i> | `three|four` |
| ^ any content after this column divider is discarded
|
= help: to escape `|` characters in tables, add a `\` before them like `\|`
= note: `#[warn(rustdoc::invalid_markdown_table)]` on by default
error: unopened HTML tag `div`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:304:5
|
LL | /// | <div> | foo |
| ----- - because the Markdown table cell ends here
| |
| does not match this unclosed tag
LL | /// </div>
| ^^^^^^ this unopened tag
error: aborting due to 31 previous errors; 1 warning emitted
------------------------------------------
---- [ui] tests/rustdoc-ui/lints/invalid-html-tags.rs stdout end ----

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job x86_64-gnu-llvm-21-3 failed! Check out the build log: (web)(plain enhanced)(plain)

Click to see the possible cause of the failure (guessed by this bot)
208 + warning: table row has too many columns
+ --> $DIR/invalid-html-tags.rs:294:24
+ |
+ LL | /// | <i>`one|two`</i> | `three|four` |
+ | ^ any content after this column divider is discarded
+ |
+ = help: to escape `|` characters in tables, add a `\` before them like `\|`
+ = note: `#[warn(rustdoc::invalid_markdown_table)]` on by default
+ 209 error: unopened HTML tag `div`
210 --> $DIR/invalid-html-tags.rs:304:5
211 |
216 LL | /// </div>
217 | ^^^^^^ this unopened tag
218 - error: aborting due to 31 previous errors
+ error: aborting due to 31 previous errors; 1 warning emitted
220 221 Note: some mismatched output was normalized before being compared
- --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:294:24
+ warning: table row has too many columns
+ --> $DIR/invalid-html-tags.rs:294:24
+ |
+ LL | /// | <i>`one|two`</i> | `three|four` |
+ | ^ any content after this column divider is discarded
+ |
+ = help: to escape `|` characters in tables, add a `\` before them like `\|`
+ = note: `#[warn(rustdoc::invalid_markdown_table)]` on by default
+ + error: aborting due to 31 previous errors; 1 warning emitted
The actual stderr differed from the expected stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args lints/invalid-html-tags.rs`
error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustdoc" "/checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-ui/lints/invalid-html-tags" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Cdebuginfo=0"
stdout: none
--- stderr -------------------------------
error: unclosed HTML tag `p`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:4:5
|
LL | //! <p>💩<p>
| ^^^
|
note: the lint level is defined here
--> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:1:9
|
LL | #![deny(rustdoc::invalid_html_tags)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unclosed HTML tag `p`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:4:9
|
LL | //! <p>💩<p>
| ^^^
error: unclosed HTML tag `unknown`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:12:5
|
LL | /// <unknown>
| ^^^^^^^^^
error: unclosed HTML tag `script`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:15:5
|
LL | /// <script>
| ^^^^^^^^
error: unopened HTML tag `hello`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:25:5
|
LL | /// </hello>
| ^^^^^^^^
---
error: unclosed HTML tag `p`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:30:14
|
LL | /// <br/> <p>
| ^^^
error: incomplete HTML tag `script`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:46:5
|
LL | /// <script
| ^^^^^^^
error: unclosed HTML tag `div`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:42:5
|
LL | /// <div style="hello">
| ^^^^
error: unclosed HTML tag `h3`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:44:7
|
LL | /// <h3>
| ^^^^
error: incomplete HTML tag `div`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:74:10
|
LL | /// <div></div
| ^^^^^
error: unclosed HTML tag `div`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:74:5
|
LL | /// <div></div
| ^^^^^
error: Unclosed HTML comment
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:89:5
|
LL | /// <!--
| ^^^^
error: unopened HTML tag `unopened-tag`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:116:26
|
LL | /// Web Components style </unopened-tag>
| ^^^^^^^^^^^^^^^
error: unclosed HTML tag `dashed-tags`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:114:26
|
LL | /// Web Components style <dashed-tags>
| ^^^^^^^^^^^^^
error: unclosed HTML tag `a`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:123:19
|
LL | /// backslashed \<<a href="">
| ^^
error: incomplete HTML tag `img`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:157:5
|
LL | /// <img
| ^^^^
error: incomplete HTML tag `img`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:162:8
|
LL | /// <p><img</p>
| ^^^^
error: incomplete HTML tag `img`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:167:7
|
LL | /// > <img
| _______^
LL | | /// > href="#broken"
| |____________________^
error: incomplete HTML tag `br`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:173:5
|
LL | /// <br<br>
| ^^^
error: incomplete HTML tag `br`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:178:5
|
LL | /// <br
| ^^^
error: incomplete HTML tag `p`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:211:5
|
LL | /// <p <!-->foobar</p>
| ^^^
error: Unclosed HTML comment
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:211:8
|
LL | /// <p <!-->foobar</p>
| ^^^^
error: unopened HTML tag `span`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:216:36
|
LL | /// *Improperly <span> nested* HTML</span>
| -------------------------- ^^^^^^^ this unopened tag
| | |
| | does not match this unclosed tag
| because of this Markdown emphasis
error: improperly nested Markdown emphasis
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:223:22
|
LL | /// <span>Improperly *nested </span> HTML*
| -----------------^^^^^^^^^^^^^^^^^^^^^
| |
| because of this HTML `span`
error: unopened HTML tag `span`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:228:43
|
LL | /// <em>Improperly <span> nested</em> HTML</span>
| --------------------------------- ^^^^^^^ this unopened tag
| | |
| | does not match this unclosed tag
| because of this HTML `em`
error: unopened HTML tag `em`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:237:10
|
LL | /// Improperly <em> nested
| ---- does not match this unclosed tag
LL | ///
| - because the Markdown paragraph ends here
LL | /// HTML </em> emphasis
| ^^^^^ this unopened tag
error: unopened HTML tag `svg`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:285:5
|
LL | /// <svg viewBox="0 0 10 10">
| ---- does not match this unclosed tag
...
LL | /// >
| - because the Markdown paragraph is interrupted by this block quote
LL | /// </svg>
| ^^^^^^ this unopened tag
error: unopened HTML tag `i`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:294:19
|
LL | /// | <i>`one|two`</i> | `three|four` |
| --- - ^^^^ this unopened tag
| | |
| | because the Markdown table cell ends here
| does not match this unclosed tag
warning: table row has too many columns
##[warning] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:294:24
|
LL | /// | <i>`one|two`</i> | `three|four` |
| ^ any content after this column divider is discarded
|
= help: to escape `|` characters in tables, add a `\` before them like `\|`
= note: `#[warn(rustdoc::invalid_markdown_table)]` on by default
error: unopened HTML tag `div`
##[error] --> /checkout/tests/rustdoc-ui/lints/invalid-html-tags.rs:304:5
|
LL | /// | <div> | foo |
| ----- - because the Markdown table cell ends here
| |
| does not match this unclosed tag
LL | /// </div>
| ^^^^^^ this unopened tag
error: aborting due to 31 previous errors; 1 warning emitted
------------------------------------------
---- [ui] tests/rustdoc-ui/lints/invalid-html-tags.rs stdout end ----

@jhprattjhpratt closed this Aug 7, 2026
@rust-borsrust-borsBot removed the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Aug 7, 2026
@rust-bors

rust-borsBot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

PR #159583, which is a member of this rollup, was unapproved.

This rollup was thus unapproved.

@rustbotrustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Aug 7, 2026
@jhpratt
jhpratt deleted the rollup-KqqZ4iG branch August 7, 2026 02:04
@rust-borsrust-borsBot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Aug 7, 2026
@rust-bors

rust-borsBot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 9438551 failed: CI. Failed jobs:

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-rustdoc-jsonArea: Rustdoc JSON backendO-unixOperating system: Unix-likerollupA PR which is a rollupS-waiting-on-authorStatus: This is awaiting some action (such as code changes or more information) from the author.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

19 participants

@jhpratt@rust-log-analyzer@rustbot@GuillaumeGomez@notriddle@teor2345@RalfJung@lcnr@moabo3li@zakrad@oli-obk@hkalbasi@Zalathar@farao@he32@im-lunex@aerooneqq@KR-bluejay@sgasho