Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/tests/compiletest.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ The following test suites are available, with links for more information:
| `rustdoc-ui` | Check terminal output of `rustdoc` ([see also](ui.md)) |

Some rustdoc-specific tests can also be found in `ui/rustdoc/`.
These check rustdoc-related or -specific lints that (also) run as part of `rustc`, not (only) `rustdoc`.
These tests ensure that lints that are emitted as part of executing rustdoc
Copy link
Member

@fmease fmease Aug 31, 2025

Choose a reason for hiding this comment

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

Not sure how to rephrase this, but it's not (all) lints, it's only some lints. There are lints that are only emitted by rustdoc, not rustc, like the ones prefixed with rustdoc::.

Copy link
Member

Choose a reason for hiding this comment

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

maybe "certain" lints?

are also run when executing rustc.
Run-make tests pertaining to rustdoc are typically named `run-make/rustdoc-*/`.

[rustdoc-html-tests]: ../rustdoc-internals/rustdoc-test-suite.md
Expand Down