We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 40a2556 + 36d9c58 commit 1d958e9Copy full SHA for 1d958e9
1 file changed
src/tests/ui.md
@@ -453,9 +453,9 @@ even run the resulting program. Just add one of the following
453
- `//@ check-fail` — compilation should fail (the codegen phase is skipped).
454
This is the default for UI tests.
455
- `//@ 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.
+ 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
459
- `//@ run-fail` — compilation should succeed, but running the resulting
460
binary should fail.
461
0 commit comments