<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_mir_transform/src/deduplicate_blocks.rs, branch 1.76.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.76.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.76.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-12-10T02:56:22+00:00</updated>
<entry>
<title>remove redundant imports</title>
<updated>2023-12-10T02:56:22+00:00</updated>
<author>
<name>surechen</name>
<email>chenshuo17@huawei.com</email>
</author>
<published>2023-11-10T02:11:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40ae34194c586eea3614d3216322053d2e8e7b37'/>
<id>urn:sha1:40ae34194c586eea3614d3216322053d2e8e7b37</id>
<content type='text'>
detects redundant imports that can be eliminated.

for #117772 :

In order to facilitate review and modification, split the checking code and
removing redundant imports code into two PR.
</content>
</entry>
<entry>
<title>rename mir::Constant -&gt; mir::ConstOperand, mir::ConstKind -&gt; mir::Const</title>
<updated>2023-09-21T06:12:30+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-09-20T18:51:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c94410c1458f9ea55e51fc9af478d94a82ec90a0'/>
<id>urn:sha1:c94410c1458f9ea55e51fc9af478d94a82ec90a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace `Body::basic_blocks()` with field access</title>
<updated>2022-08-26T12:27:08+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2022-07-05T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b48870b451dd9d3f3f827aa54d9becdfdd811ba3'/>
<id>urn:sha1:b48870b451dd9d3f3f827aa54d9becdfdd811ba3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `in_band_lifetimes` from `rustc_mir_transform`</title>
<updated>2021-12-08T05:04:40+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2021-12-06T08:48:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a1249240610fd78d255b170482ee5c106d1208b4'/>
<id>urn:sha1:a1249240610fd78d255b170482ee5c106d1208b4</id>
<content type='text'>
This one is a heavy `'tcx` user.

Two interesting ones:

This one had the `'tcx` declared on the function, despite the trait taking a `'tcx`:
```diff
-impl Visitor&lt;'_&gt; for UsedLocals {
+impl&lt;'tcx&gt; Visitor&lt;'tcx&gt; for UsedLocals {
     fn visit_statement(&amp;mut self, statement: &amp;Statement&lt;'tcx&gt;, location: Location) {
```

This one use in-band for one, and underscore for the other:
```diff
-pub fn remove_dead_blocks(tcx: TyCtxt&lt;'tcx&gt;, body: &amp;mut Body&lt;'_&gt;) {
+pub fn remove_dead_blocks&lt;'tcx&gt;(tcx: TyCtxt&lt;'tcx&gt;, body: &amp;mut Body&lt;'tcx&gt;) {
```
</content>
</entry>
<entry>
<title>Update passes with new interface</title>
<updated>2021-12-03T01:31:38+00:00</updated>
<author>
<name>Dylan MacKenzie</name>
<email>ecstaticmorse@gmail.com</email>
</author>
<published>2021-12-02T17:17:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fd18b45e112d07c20d12303aa5d7d7ffd28830b7'/>
<id>urn:sha1:fd18b45e112d07c20d12303aa5d7d7ffd28830b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move rustc_mir::transform to rustc_mir_transform.</title>
<updated>2021-09-06T22:43:14+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2021-01-01T00:53:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bba4be681d664a50ab307ec732f957c02255e067'/>
<id>urn:sha1:bba4be681d664a50ab307ec732f957c02255e067</id>
<content type='text'>
</content>
</entry>
</feed>
