Merge pull request #2483 from rust-lang/tshepang-patch-1
This commit is contained in:
commit
e82121f812
1 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue