about summary refs log tree commit diff
path: root/src/test/rustfix
AgeCommit message (Collapse)AuthorLines
2019-01-06tests: Do not use `-Z parse-only`, continue compilation to test recoveryVadim Petrochenkov-4/+0
2018-12-28remove remaining copyright headersMatthias Krüger-110/+0
2018-12-25Remove licensesMark Rousskov-90/+0
2018-06-13Removed various update-reference and update-all-references scriptsChris Cesare-76/+0
2018-05-04test: Make a dedicated testsuite for rustfixAlex Crichton-0/+367
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