rust/tests/ui/rustdoc
Josh Stone 7af995f461 Account for beta revisions when normalizing versions
Several UI tests have a `normalize-stderr` for "you are using x.y.z"
rustc versions, and that regex is flexible enough for suffixes like
"-nightly" and "-dev", but not for "-beta.N". We can just add '.' to
that trailing pattern to include this.

(cherry picked from commit 8469966710)
2025-06-23 14:13:30 -07:00
..
cfg-rustdoc.rs
cfg-rustdoc.stderr
check-doc-alias-attr-location.rs
check-doc-alias-attr-location.stderr
check-doc-alias-attr.rs
check-doc-alias-attr.stderr
deny-invalid-doc-attrs.rs Update ui tests 2024-02-29 14:43:43 +01:00
deny-invalid-doc-attrs.stderr Update ui tests 2024-02-29 14:43:43 +01:00
doc-alias-crate-level.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
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 Update ui tests 2024-02-29 14:43:43 +01:00
doc-primitive.stderr Update ui tests 2024-02-29 14:43:43 +01:00
doc-test-attr-pass.rs Allow #![doc(test(attr(..)))] at every level 2025-05-22 20:12:50 +02:00
doc-test-attr.rs Update ui tests 2024-02-29 14:43:43 +01:00
doc-test-attr.stderr Update ui tests 2024-02-29 14:43:43 +01:00
doc_keyword.rs Remove rustc::existing_doc_keyword lint. 2024-12-17 13:56:10 +11:00
doc_keyword.stderr Remove rustc::existing_doc_keyword lint. 2024-12-17 13:56:10 +11:00
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
README.md
renamed-features-rustdoc_internals.rs Account for beta revisions when normalizing versions 2025-06-23 14:13:30 -07:00
renamed-features-rustdoc_internals.stderr Make since of removed features the version removed and fill pull 2025-06-09 17:17:49 +08:00
unterminated-doc-comment.rs
unterminated-doc-comment.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00

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.