about summary refs log tree commit diff
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-07-01 18:59:34 +0800
committerGitHub <noreply@github.com>2025-07-01 18:59:34 +0800
commite82121f812be623f1da1c5e7fef79e0ddf471d8f (patch)
tree3224e1f03b8489a7a2ce88e246a27ed38d85b501
parent67e53f2a41940f4c96a77a47c01a24c2b7678c74 (diff)
parent787a4cc90f540b979f31f3f24e103f35295bf036 (diff)
downloadrust-e82121f812be623f1da1c5e7fef79e0ddf471d8f.tar.gz
rust-e82121f812be623f1da1c5e7fef79e0ddf471d8f.zip
Merge pull request #2483 from rust-lang/tshepang-patch-1
-rw-r--r--src/doc/rustc-dev-guide/src/tests/ui.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/ui.md b/src/doc/rustc-dev-guide/src/tests/ui.md
index 09dc476d68e..65bd89bafe6 100644
--- a/src/doc/rustc-dev-guide/src/tests/ui.md
+++ b/src/doc/rustc-dev-guide/src/tests/ui.md
@@ -453,9 +453,9 @@ even run the resulting program. Just add one of the following
   - `//@ check-fail` — compilation should fail (the codegen phase is skipped).
     This is the default for UI tests.
   - `//@ build-fail` — compilation should fail during the codegen phase.
-    This will run `rustc` twice, once to verify that it compiles successfully
-    without the codegen phase, then a second time the full compile should
-    fail.
+    This will run `rustc` twice:
+    - First time is to ensure that the compile succeeds without the codegen phase
+    - Second time is to ensure that the full compile fails
   - `//@ run-fail` — compilation should succeed, but running the resulting
     binary should fail.