diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-05-02 08:43:15 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-05-04 15:01:28 -0700 |
| commit | fa9e55faeb0b4fac282ed47f20780c05f4efc86d (patch) | |
| tree | 0dd43731c9c58b5a41d1cc4be32821d873b71801 /src/liballoc | |
| parent | b2645044039cb59858ec494e0ddacbe597757cdb (diff) | |
| download | rust-fa9e55faeb0b4fac282ed47f20780c05f4efc86d.tar.gz rust-fa9e55faeb0b4fac282ed47f20780c05f4efc86d.zip | |
test: Make a dedicated testsuite for rustfix
This commit adds a dedicated mode to compiletest for running rustfix tests, adding a new `src/test/rustfix` directory which will execute all tests as a "rustfix" test, namely requiring that a `*.fixed` is next to the main file which is the result of the rustfix project's application of fixes. The `rustfix` crate is pulled in to actually perform the fixing, and the rustfix compiletest mode will assert a few properties about the fixing: * The expected fixed output must be the same as rustc's output suggestions applied to the original code. * The fixed code must compile successfully * The fixed code must have no further diagnostics emitted about it
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions
