Closed
Description
When a doctest is partially ignored based on target, such as:
/// Example
///
/// ```ignore-wasm
/// let x = 1;
/// ```
pub fn f() {}
the documentation includes an alert that the example isn't tested (on any target):

This could be a little misleading, since the ignore statement could be for a relatively esoteric platform. But the docs seem to imply it isn't tested anywhere.
I'm not really sure what would make sense to include here. Perhaps the tooltip could be more explicit on what is being ignored?
Meta
rustdoc 1.89.0-nightly (414482f6a 2025-05-13)
binary: rustdoc
commit-hash: 414482f6a0d4e7290f614300581a0b55442552a3
commit-date: 2025-05-13
host: aarch64-apple-darwin
release: 1.89.0-nightly
LLVM version: 20.1.4
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done