rust/tests/ui/rustdoc
Esteban Küber 4b24c4bf23 Tweak rendering of cfg'd out item
```
error[E0433]: failed to resolve: could not find `doesnt_exist` in `inner`
  --> $DIR/diagnostics-cross-crate.rs:18:23
   |
LL |     cfged_out::inner::doesnt_exist::hello();
   |                       ^^^^^^^^^^^^ could not find `doesnt_exist` in `inner`
   |
note: found an item that was configured out
  --> $DIR/auxiliary/cfged_out.rs:6:13
   |
LL |     #[cfg(false)]
   |           ----- the item is gated here
LL |     pub mod doesnt_exist {
   |             ^^^^^^^^^^^^
```
2025-08-01 23:58:15 +00:00
..
cfg-rustdoc.rs Detect more cfgd out items in resolution errors 2025-08-01 21:50:36 +00:00
cfg-rustdoc.stderr Tweak rendering of cfg'd out item 2025-08-01 23:58:15 +00:00
check-doc-alias-attr-location.rs
check-doc-alias-attr-location.stderr Specify of_trait in Target::Impl. 2025-07-17 22:21:21 +00:00
check-doc-alias-attr.rs
check-doc-alias-attr.stderr
deny-invalid-doc-attrs.rs
deny-invalid-doc-attrs.stderr
doc-alias-crate-level.rs
doc-alias-crate-level.stderr
doc-alias-same-name.rs
doc-alias-same-name.stderr
doc-alias-use-item-list-stem.rs Check attrs: Don't try to retrieve the name of list stems 2025-03-19 23:29:35 +01:00
doc-inline-extern-crate.rs
doc-inline-extern-crate.stderr
doc-primitive.rs
doc-primitive.stderr
doc-test-attr-pass.rs Allow #![doc(test(attr(..)))] at every level 2025-05-22 20:12:50 +02:00
doc-test-attr.rs
doc-test-attr.stderr
doc_keyword.rs
doc_keyword.stderr
duplicate_doc_alias.rs
duplicate_doc_alias.stderr
feature-gate-doc_primitive.rs refactor AttributeGate and rustc_attr! to emit notes during feature checking 2025-06-09 11:44:24 +02:00
feature-gate-doc_primitive.stderr refactor AttributeGate and rustc_attr! to emit notes during feature checking 2025-06-09 11:44:24 +02:00
hidden-doc-associated-item.rs
README.md
renamed-features-rustdoc_internals.rs Don't include current rustc version string in feature removed help 2025-06-24 23:32:09 +08:00
renamed-features-rustdoc_internals.stderr Don't include current rustc version string in feature removed help 2025-06-24 23:32:09 +08:00
unterminated-doc-comment.rs
unterminated-doc-comment.stderr

This directory is for tests that have to do with rustdoc, but test the behavior of rustc. For example, rustc should not warn that an attribute rustdoc uses is unknown.