<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/coverage/closure_macro_async.coverage, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-05-06T10:42:25+00:00</updated>
<entry>
<title>coverage: Only merge adjacent coverage spans</title>
<updated>2025-05-06T10:42:25+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-04-12T07:52:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4d5a1acebfe031ca2af75786295a2cd2a0633943'/>
<id>urn:sha1:4d5a1acebfe031ca2af75786295a2cd2a0633943</id>
<content type='text'>
This also removes some manipulation of the function signature span that only
made sense in the context of merging non-adjacent spans.
</content>
</entry>
<entry>
<title>Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"</title>
<updated>2024-12-23T01:30:37+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-12-22T03:26:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=87c2f9a5be900e835f3c41cec2886d54ec0ca012'/>
<id>urn:sha1:87c2f9a5be900e835f3c41cec2886d54ec0ca012</id>
<content type='text'>
This reverts commit 1d35638dc38dbfbf1cc2a9823135dfcf3c650169, reversing
changes made to f23a80a4c2fbca593b64e70f5970368824b4c5e9.
</content>
</entry>
<entry>
<title>Stabilize #[coverage] attribute</title>
<updated>2024-12-17T02:07:06+00:00</updated>
<author>
<name>ltdk</name>
<email>usr@ltdk.xyz</email>
</author>
<published>2024-09-23T23:40:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cb487cc2fa3c5ebfddd22d6721cf1669943c1774'/>
<id>urn:sha1:cb487cc2fa3c5ebfddd22d6721cf1669943c1774</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stabilize noop_waker</title>
<updated>2024-12-05T22:14:17+00:00</updated>
<author>
<name>Eric Holk</name>
<email>ericholk@microsoft.com</email>
</author>
<published>2024-11-16T01:42:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=72ce1ab42f3be927f6f039a592222e054a0b0eaf'/>
<id>urn:sha1:72ce1ab42f3be927f6f039a592222e054a0b0eaf</id>
<content type='text'>
Co-authored-by: zachs18 &lt;8355914+zachs18@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>coverage: Extract `executor::block_on` from several async coverage tests</title>
<updated>2024-09-10T06:08:36+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-09-06T05:41:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e96b4e479a3835d43d3c0bfd1028b5ac9d99cfec'/>
<id>urn:sha1:e96b4e479a3835d43d3c0bfd1028b5ac9d99cfec</id>
<content type='text'>
By moving `block_on` to an auxiliary crate, we avoid having to keep a separate
copy of it in every async test.

(This also incorporates some small tweaks to the headers in `await_ready.rs`.)
</content>
</entry>
<entry>
<title>[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives</title>
<updated>2024-02-22T16:04:04+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2024-02-22T12:10:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6e48b96692d63a79a14563f27fe5185f122434f8'/>
<id>urn:sha1:6e48b96692d63a79a14563f27fe5185f122434f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Make unexpansion of closure bodies more precise</title>
<updated>2024-02-04T23:09:46+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-01-22T01:49:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dd6d7f27e46ae68ee183d8b41eb481b39cb881c6'/>
<id>urn:sha1:dd6d7f27e46ae68ee183d8b41eb481b39cb881c6</id>
<content type='text'>
This improves the coverage instrumentation of closures declared in macros, as
seen in `closure_macro.rs` and `closure_macro_async.rs`.
</content>
</entry>
<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>
</feed>
