<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/coverage/closure_macro_async.rs, branch 1.77.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.77.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.77.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-01-21T05:38:37+00:00</updated>
<entry>
<title>Rollup merge of #120015 - Zalathar:format, r=dtolnay</title>
<updated>2024-01-21T05:38:37+00:00</updated>
<author>
<name>Nadrieril</name>
<email>Nadrieril@users.noreply.github.com</email>
</author>
<published>2024-01-21T05:38:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e8678b1030c50173ff29d77eae215b1f8472571d'/>
<id>urn:sha1:e8678b1030c50173ff29d77eae215b1f8472571d</id>
<content type='text'>
coverage: Format all coverage tests with `rustfmt`

As suggested by &lt;https://github.com/rust-lang/rust/pull/119984#discussion_r1452856806&gt;.

Test files in `tests/` are normally ignored by `x fmt`, but sometimes those files end up being run through `rustfmt` anyway, either by `rust-analyzer` or by hand.

When that happens, it's annoying to have to manually revert formatting changes that are unrelated to the actual changes being made. So it's helpful for the tests in the repository to already have standard formatting beforehand.

However, there are several coverage tests that deliberately use non-standard formatting, so that line counts reveal more information about where code regions begin and end. In those cases, we can use `#[rustfmt::skip]` to prevent that code from being disturbed.

``@rustbot`` label +A-code-coverage
</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>Remove unnecessary `let`s and borrowing from `Waker::noop()` usage.</title>
<updated>2024-01-17T20:00:27+00:00</updated>
<author>
<name>Kevin Reid</name>
<email>kpreid@switchb.org</email>
</author>
<published>2024-01-15T00:25:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c48cdfe8ee582e3e67c9ffc036d8046add812565'/>
<id>urn:sha1:c48cdfe8ee582e3e67c9ffc036d8046add812565</id>
<content type='text'>
`Waker::noop()` now returns a `&amp;'static Waker` reference, so it can be
passed directly to `Context` creation with no temporary lifetime issue.
</content>
</entry>
<entry>
<title>coverage: Use `Waker::noop` in async tests</title>
<updated>2023-12-15T06:17:20+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-12-15T05:38:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5764ccc5e81527bd01db276fa2ec5dbdaaac3cf6'/>
<id>urn:sha1:5764ccc5e81527bd01db276fa2ec5dbdaaac3cf6</id>
<content type='text'>
</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>
