about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-03-08 20:44:41 +0000
committerGitHub <noreply@github.com>2024-03-08 17:44:41 -0300
commitdaf2f3c27447fd5c05e7bee533ccef0933cc23b6 (patch)
tree884bb2d6672a64090ae326c7dffdd77b9e55bed6 /src/doc/rustc-dev-guide
parentd34c4d16c0c0ea92b9e3c255b67476bf7425b22f (diff)
downloadrust-daf2f3c27447fd5c05e7bee533ccef0933cc23b6.tar.gz
rust-daf2f3c27447fd5c05e7bee533ccef0933cc23b6.zip
Document that test names cannot contain dots (#1927)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/ui.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/ui.md b/src/doc/rustc-dev-guide/src/tests/ui.md
index cffecda82d7..3f850264075 100644
--- a/src/doc/rustc-dev-guide/src/tests/ui.md
+++ b/src/doc/rustc-dev-guide/src/tests/ui.md
@@ -64,6 +64,9 @@ The general form is:
 
 *test-name*`.`*revision*`.`*compare_mode*`.`*extension*
 
+* *test-name* cannot contain dots. This is so that the general form of test
+  output filenames have a predictable form we can pattern match on in order to
+  track stray test output files.
 * *revision* is the [revision](#cfg-revisions) name.
   This is not included when not using revisions.
 * *compare_mode* is the [compare mode](#compare-modes).