<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_mir_dataflow/src/impls, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-07T16:24:46+00:00</updated>
<entry>
<title>Reimplement DestinationPropagation according to live ranges.</title>
<updated>2025-09-07T16:24:46+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2025-07-02T08:36:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9b8a719ae48db491a5f18d52fdbb802508bf75a5'/>
<id>urn:sha1:9b8a719ae48db491a5f18d52fdbb802508bf75a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #144478 - joshtriplett:doc-code-formatting-prep, r=Amanieu</title>
<updated>2025-08-02T09:24:24+00:00</updated>
<author>
<name>Samuel Tardieu</name>
<email>sam@rfc1149.net</email>
</author>
<published>2025-08-02T09:24:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d082ff4c04c09e855d7ea55e0c9deda05eba46ec'/>
<id>urn:sha1:d082ff4c04c09e855d7ea55e0c9deda05eba46ec</id>
<content type='text'>
Improve formatting of doc code blocks

We don't currently apply automatic formatting to doc comment code blocks. As a
result, it has built up various idiosyncracies, which make such automatic
formatting difficult. Some of those idiosyncracies also make things harder for
human readers or other tools.

This PR makes a few improvements to doc code formatting, in the hopes of making
future automatic formatting easier, as well as in many cases providing net
readability improvements.

I would suggest reading each commit separately, as each commit contains one
class of changes.
</content>
</entry>
<entry>
<title>use let chains in hir, lint, mir</title>
<updated>2025-07-28T01:10:14+00:00</updated>
<author>
<name>Kivooeo</name>
<email>Kivooeo123@gmail.com</email>
</author>
<published>2025-07-26T01:21:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bae38bad7803be7fdf1878188da9650f82548016'/>
<id>urn:sha1:bae38bad7803be7fdf1878188da9650f82548016</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Skip formatting for some compiler documentation code</title>
<updated>2025-07-26T05:01:49+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-07-26T00:27:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3352dfc4a232fa6f38db3ea3ed465f56e6c8f85b'/>
<id>urn:sha1:3352dfc4a232fa6f38db3ea3ed465f56e6c8f85b</id>
<content type='text'>
These examples feature Rust code that's presented primarily to
illustrate how its compilation would be handled, and these examples are
formatted to highlight those aspects in ways that rustfmt wouldn't
preserve. Turn formatting off in those examples.

(Doc code isn't formatted yet, but this will make it easier to enable
doc code formatting in the future.)
</content>
</entry>
<entry>
<title>Apply effects to otherwise edge in dataflow analysis</title>
<updated>2025-07-08T23:15:05+00:00</updated>
<author>
<name>Amogh Shivaram</name>
<email>ashivaram264@gmail.com</email>
</author>
<published>2025-07-08T23:15:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c7ef03aeb7c33825e3d020c9e1791171e71cd445'/>
<id>urn:sha1:c7ef03aeb7c33825e3d020c9e1791171e71cd445</id>
<content type='text'>
</content>
</entry>
<entry>
<title>AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}, scoped async drop added.</title>
<updated>2025-04-28T09:23:13+00:00</updated>
<author>
<name>Andrew Zhogin</name>
<email>andrew.zhogin@gmail.com</email>
</author>
<published>2024-08-26T13:45:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c366756a8537ef998d32c1ef57098d5aae7ca92f'/>
<id>urn:sha1:c366756a8537ef998d32c1ef57098d5aae7ca92f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `SwitchIntTarget`.</title>
<updated>2025-02-16T22:51:37+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-02-14T02:23:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3b81d9d42d07d3e2c4f9f0c714fb16d2527758fe'/>
<id>urn:sha1:3b81d9d42d07d3e2c4f9f0c714fb16d2527758fe</id>
<content type='text'>
It's only passed to `Analysis::apply_switch_int_edge_effect`, and the
existing impls of that method only use the `value` field. So pass that
instead.
</content>
</entry>
<entry>
<title>Add `SwitchTargetValue`.</title>
<updated>2025-02-16T22:51:37+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-02-13T22:54:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8403d39dce2b6875381974a3f413c0c610f2ca1a'/>
<id>urn:sha1:8403d39dce2b6875381974a3f413c0c610f2ca1a</id>
<content type='text'>
This is much clearer than `Option&lt;u128&gt;`.
</content>
</entry>
<entry>
<title>Move drop elaboration infrastructure.</title>
<updated>2025-02-14T05:05:34+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-02-14T04:30:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=46c72362bcc38e32ba89dea15080f6f9e727f01d'/>
<id>urn:sha1:46c72362bcc38e32ba89dea15080f6f9e727f01d</id>
<content type='text'>
`rustc_mir_dataflow/src/elaborate_drops.rs` contains some infrastructure
used by a few MIR passes: the `elaborate_drop` function, the
`DropElaborator` trait, etc.

`rustc_mir_transform/src/elaborate_drops.rs` (same file name, different
crate) contains the `ElaborateDrops` pass. It relies on a lot of the
infrastructure from `rustc_mir_dataflow/src/elaborate_drops.rs`.

It turns out that the drop infrastructure is only used in
`rustc_mir_transform`, so this commit moves it there. (The only
exception is the small `DropFlagState` type, which is moved to the
existing `rustc_mir_dataflow/src/drop_flag_effects.rs`.) The file is
renamed from `rustc_mir_dataflow/src/elaborate_drops.rs` to
`rustc_mir_transform/src/elaborate_drop.rs` (with no trailing `s`)
because (a) the `elaborate_drop` function is the most important export,
and (b) `rustc_mir_transform/src/elaborate_drops.rs` already exists.

All the infrastructure pieces that used to be `pub` are now
`pub(crate)`, because they are now only used within
`rustc_mir_transform`.
</content>
</entry>
<entry>
<title>Implement MIR, CTFE, and codegen for unsafe binders</title>
<updated>2025-01-31T17:19:53+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-01-31T01:24:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fc1a9186dcdad111fd99ddd38bd961a8a205c380'/>
<id>urn:sha1:fc1a9186dcdad111fd99ddd38bd961a8a205c380</id>
<content type='text'>
</content>
</entry>
</feed>
