about summary refs log tree commit diff
path: root/src/test/rustfix/closure-immutable-outer-variable.fixed
AgeCommit message (Collapse)AuthorLines
2018-12-28remove remaining copyright headersMatthias Krüger-10/+0
2018-05-04test: Make a dedicated testsuite for rustfixAlex Crichton-0/+20
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