<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/rustfix/closure-immutable-outer-variable.fixed, branch 1.31.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.31.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.31.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-05-04T22:01:28+00:00</updated>
<entry>
<title>test: Make a dedicated testsuite for rustfix</title>
<updated>2018-05-04T22:01:28+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2018-05-02T15:43:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fa9e55faeb0b4fac282ed47f20780c05f4efc86d'/>
<id>urn:sha1:fa9e55faeb0b4fac282ed47f20780c05f4efc86d</id>
<content type='text'>
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
</content>
</entry>
</feed>
