about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-05-02 08:43:15 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-05-04 15:01:28 -0700
commitfa9e55faeb0b4fac282ed47f20780c05f4efc86d (patch)
tree0dd43731c9c58b5a41d1cc4be32821d873b71801 /src/liballoc
parentb2645044039cb59858ec494e0ddacbe597757cdb (diff)
downloadrust-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