Skip to content

Commit 1d958e9

Browse files
authored
Merge pull request #2483 from rust-lang/tshepang-patch-1
2 parents 40a2556 + 36d9c58 commit 1d958e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tests/ui.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,9 +453,9 @@ even run the resulting program. Just add one of the following
453453
- `//@ check-fail` — compilation should fail (the codegen phase is skipped).
454454
This is the default for UI tests.
455455
- `//@ build-fail` — compilation should fail during the codegen phase.
456-
This will run `rustc` twice, once to verify that it compiles successfully
457-
without the codegen phase, then a second time the full compile should
458-
fail.
456+
This will run `rustc` twice:
457+
- First time is to ensure that the compile succeeds without the codegen phase
458+
- Second time is to ensure that the full compile fails
459459
- `//@ run-fail` — compilation should succeed, but running the resulting
460460
binary should fail.
461461

0 commit comments

Comments
 (0)