<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_mir_transform/src/coverage/spans, branch 1.88.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.88.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.88.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-04-01T02:07:33+00:00</updated>
<entry>
<title>coverage: Shrink call spans to just the function name</title>
<updated>2025-04-01T02:07:33+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-03-29T10:33:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=577272eedeaace00aa695135b3b8fee3768536a5'/>
<id>urn:sha1:577272eedeaace00aa695135b3b8fee3768536a5</id>
<content type='text'>
This is a way to shrink call spans that doesn't involve mixing different spans,
and avoids overlap with argument spans.

This patch also removes some low-value comments that were causing rustfmt to
ignore the match arms.
</content>
</entry>
<entry>
<title>coverage: Separate span-extraction from unexpansion</title>
<updated>2025-03-21T10:23:50+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-03-04T03:17:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=83b56eb059d9e47864191fc13783f44f04cb42b4'/>
<id>urn:sha1:83b56eb059d9e47864191fc13783f44f04cb42b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Defer part of counter-creation until codegen</title>
<updated>2025-02-06T10:44:31+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-01-22T02:55:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=20d051ec870739c8f263e5f6f581ca24a5dd56fd'/>
<id>urn:sha1:20d051ec870739c8f263e5f6f581ca24a5dd56fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Rename `basic_coverage_blocks` to just `graph`</title>
<updated>2024-12-20T06:48:59+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-12-18T02:53:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=544809e48a3de2de20c15bc5488b889cd375215e'/>
<id>urn:sha1:544809e48a3de2de20c15bc5488b889cd375215e</id>
<content type='text'>
During coverage instrumentation, this variable always holds the coverage graph,
which is a simplified view of the MIR control-flow graph. The new name is
clearer in context, and also shorter.
</content>
</entry>
<entry>
<title>reduce false positives of tail-expr-drop-order from consumed values</title>
<updated>2024-11-20T12:53:11+00:00</updated>
<author>
<name>Ding Xiang Fei</name>
<email>dingxiangfei2009@protonmail.ch</email>
</author>
<published>2024-09-01T17:13:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=297b618944d4619a1990b1992d9142c6cf893dc6'/>
<id>urn:sha1:297b618944d4619a1990b1992d9142c6cf893dc6</id>
<content type='text'>
take 2

open up coroutines

tweak the wordings

the lint works up until 2021

We were missing one case, for ADTs, which was
causing `Result` to yield incorrect results.

only include field spans with significant types

deduplicate and eliminate field spans

switch to emit spans to impl Drops

Co-authored-by: Niko Matsakis &lt;nikomat@amazon.com&gt;

collect drops instead of taking liveness diff

apply some suggestions and add explantory notes

small fix on the cache

let the query recurse through coroutine

new suggestion format with extracted variable name

fine-tune the drop span and messages

bugfix on runtime borrows

tweak message wording

filter out ecosystem types earlier

apply suggestions

clippy

check lint level at session level

further restrict applicability of the lint

translate bid into nop for stable mir

detect cycle in type structure
</content>
</entry>
<entry>
<title>Reformat using the new identifier sorting from rustfmt</title>
<updated>2024-09-22T23:11:29+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-09-22T23:05:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c682aa162b0d41e21cc6748f4fecfe01efb69d1f'/>
<id>urn:sha1:c682aa162b0d41e21cc6748f4fecfe01efb69d1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Treat await similar to a macro</title>
<updated>2024-09-06T05:01:59+00:00</updated>
<author>
<name>Jonathan Conder</name>
<email>jono.conder@gmail.com</email>
</author>
<published>2024-09-05T22:25:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=25d183057edcf5d24ba0dcc8d5222a2a954aa80f'/>
<id>urn:sha1:25d183057edcf5d24ba0dcc8d5222a2a954aa80f</id>
<content type='text'>
Currently `await` is only counted towards coverage if the containing
function is suspended and resumed at least once. This is because it
expands to code which contains a branch on the discriminant of `Poll`.

By treating it like a branching macro (e.g. `assert!`), these
implementation details will be hidden from the coverage results.
</content>
</entry>
<entry>
<title>coverage: Extract hole spans from HIR instead of MIR</title>
<updated>2024-07-08T11:22:56+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-07-01T03:29:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=63c04f05e60ce27311fc1b874907188616beb558'/>
<id>urn:sha1:63c04f05e60ce27311fc1b874907188616beb558</id>
<content type='text'>
This makes it possible to treat more kinds of nested item/code as holes,
instead of being restricted to closures.
</content>
</entry>
<entry>
<title>Support tail calls in mir via `TerminatorKind::TailCall`</title>
<updated>2024-07-07T15:11:04+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2024-02-15T19:54:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=484152d562f6babaacb3fae08cc5f70ee550e9ee'/>
<id>urn:sha1:484152d562f6babaacb3fae08cc5f70ee550e9ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Move span unexpansion into its own submodule</title>
<updated>2024-06-30T07:44:19+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-06-30T07:36:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=617de8cfb59252a501fc7e0ab7c2510dd8a8a7f4'/>
<id>urn:sha1:617de8cfb59252a501fc7e0ab7c2510dd8a8a7f4</id>
<content type='text'>
</content>
</entry>
</feed>
