<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/coverage/coroutine.coverage, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-05-29T04:34:17+00:00</updated>
<entry>
<title>Manually run `x fmt` on all source files in `tests/coverage/`</title>
<updated>2024-05-29T04:34:17+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-05-29T04:27:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9dc6e082791fe0f3116c34a922de75947883644c'/>
<id>urn:sha1:9dc6e082791fe0f3116c34a922de75947883644c</id>
<content type='text'>
Currently we can't automatically enforce formatting on tests (see #125637), but
we can at least keep things relatively tidy by occasionally running the
formatter manually.

This was done by temporarily commenting out the `"/tests/"` exclusion in
`rustfmt.toml`, and then running `x fmt tests/coverage` and
`x test coverage --bless`.
</content>
</entry>
<entry>
<title>Tweak various coverage test files for slightly nicer formatting</title>
<updated>2024-05-29T04:34:11+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-05-29T04:06:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=448d63e9469c293c3855867d29cbff210691db92'/>
<id>urn:sha1:448d63e9469c293c3855867d29cbff210691db92</id>
<content type='text'>
For coverage tests, splitting code across multiple lines often makes the
resulting coverage report easier to interpret, so we force rustfmt to retain
line breaks by adding dummy line comments with `//`.
</content>
</entry>
<entry>
<title>Error on using `yield` without also using `#[coroutine]` on the closure</title>
<updated>2024-04-24T08:05:29+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-04-11T13:15:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aef0f4024aec24fd7e53dbc51883457e44fe17ce'/>
<id>urn:sha1:aef0f4024aec24fd7e53dbc51883457e44fe17ce</id>
<content type='text'>
And suggest adding the `#[coroutine]` to the closure
</content>
</entry>
<entry>
<title>coverage: Format all remaining tests</title>
<updated>2024-01-17T23:42:37+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-01-16T02:52:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99797bbd9fdb138dd59a782f156db8397d07943c'/>
<id>urn:sha1:99797bbd9fdb138dd59a782f156db8397d07943c</id>
<content type='text'>
These tests can simply be reformatted as normal, because the resulting changes
are unimportant.
</content>
</entry>
<entry>
<title>coverage: Migrate `tests/run-coverage` into `tests/coverage`</title>
<updated>2023-11-07T00:15:19+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-11-01T10:26:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e9d04c5e2444526ffde83662f2d57fa35c772891'/>
<id>urn:sha1:e9d04c5e2444526ffde83662f2d57fa35c772891</id>
<content type='text'>
</content>
</entry>
</feed>
