<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/tools/clippy/tests, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-27T03:50:03+00:00</updated>
<entry>
<title>Auto merge of #146636 - Mark-Simulacrum:bootstrap-bump, r=jieyouxu</title>
<updated>2025-09-27T03:50:03+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-09-27T03:50:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=959b450747f81e720be3a829665dd30e553e7fd7'/>
<id>urn:sha1:959b450747f81e720be3a829665dd30e553e7fd7</id>
<content type='text'>
Bump bootstrap compiler to 1.91 beta

https://forge.rust-lang.org/release/process.html#default-branch-bootstrap-update-tuesday
</content>
</entry>
<entry>
<title>Apply cfg(bootstrap) replacement</title>
<updated>2025-09-26T23:09:23+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2025-09-16T02:01:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=201f299ef6039886042ad8dd7c76a4fbd1a77a3f'/>
<id>urn:sha1:201f299ef6039886042ad8dd7c76a4fbd1a77a3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #145113 - petrochenkov:lessfinalize, r=lcnr</title>
<updated>2025-09-26T16:11:08+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-09-26T16:11:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f104ae4252b1f508e5b4a8193954ab518091b2c0'/>
<id>urn:sha1:f104ae4252b1f508e5b4a8193954ab518091b2c0</id>
<content type='text'>
resolve: Do not finalize shadowed bindings

I.e. do not mark them as used, or non-speculatively loaded, or similar.
Previously they were sometimes finalized during early resolution, causing issues like https://github.com/rust-lang/rust/pull/144793#issuecomment-3168108005.
</content>
</entry>
<entry>
<title>Auto merge of #145882 - m-ou-se:format-args-extend-1-arg, r=petrochenkov</title>
<updated>2025-09-26T04:34:09+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-09-26T04:34:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40ace17fc3891155bad26a50d60a9ab07b83bf8e'/>
<id>urn:sha1:40ace17fc3891155bad26a50d60a9ab07b83bf8e</id>
<content type='text'>
Extended temporary argument to format_args!() in all cases

Fixes https://github.com/rust-lang/rust/issues/145880 by removing the special case.
</content>
</entry>
<entry>
<title>resolve: Do not finalize shadowed bindings</title>
<updated>2025-09-25T17:36:14+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2025-08-01T18:55:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f89660e4aa018401ca993f0df190e5f4c4a6799b'/>
<id>urn:sha1:f89660e4aa018401ca993f0df190e5f4c4a6799b</id>
<content type='text'>
I.e. do not mark them as used, or non-speculative loaded, or similar.
Previously they were sometimes finalized during early resolution, causing issues like https://github.com/rust-lang/rust/pull/144793#issuecomment-3168108005.
</content>
</entry>
<entry>
<title>Merge commit '20ce69b9a63bcd2756cd906fe0964d1e901e042a' into clippy-subtree-update</title>
<updated>2025-09-18T15:21:44+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2025-09-18T15:21:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1bfe3bcfece0e4db3d748aba0ae9ec8def5c2644'/>
<id>urn:sha1:1bfe3bcfece0e4db3d748aba0ae9ec8def5c2644</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Rollup merge of #122661 - estebank:assert-macro-span, r=petrochenkov"</title>
<updated>2025-09-11T01:10:46+00:00</updated>
<author>
<name>Jieyou Xu</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2025-09-11T01:00:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b38a86f4d7c28ae9ab153b87c7e45037e56306fb'/>
<id>urn:sha1:b38a86f4d7c28ae9ab153b87c7e45037e56306fb</id>
<content type='text'>
This reverts commit 1eeb8e8b151d1da7daa73837a25dc5f7a1a7fa28, reversing
changes made to 324bf2b9fd8bf9661e7045c8a93f5ff0ec1a8ca5.

Unfortunately the assert desugaring change is not backwards compatible,
see RUST-145770.

Code such as

```rust
#[derive(Debug)]
struct F {
    data: bool
}

impl std::ops::Not for F {
  type Output = bool;
  fn not(self) -&gt; Self::Output { !self.data }
}

fn main() {
  let f = F { data: true };

  assert!(f);
}
```

would be broken by the assert desugaring change. We may need to land
the change over an edition boundary, or limit the editions that the
desugaring change impacts.
</content>
</entry>
<entry>
<title>Auto merge of #146121 - Muscraft:filter-suggestion-parts, r=petrochenkov</title>
<updated>2025-09-05T17:31:56+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-09-05T17:31:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99317ef14d0be42fa4039eea7c5ce50cb4e9aee7'/>
<id>urn:sha1:99317ef14d0be42fa4039eea7c5ce50cb4e9aee7</id>
<content type='text'>
fix: Filter suggestion parts that match existing code

While testing my changes to make `rustc` use `annotate-snippets`, I encountered a new `clippy` test failure stemming from [two](https://github.com/rust-lang/rust/pull/145273/files#diff-6e8403e31463539666afbc00479cb416dc767a518f562b6e2960630953ee7da2R275-R278) [suggestion](https://github.com/rust-lang/rust/pull/145273/files#diff-6e8403e31463539666afbc00479cb416dc767a518f562b6e2960630953ee7da2R289-R292) output changes in rust-lang/rust#145273. The new output in these two cases feels like a regression as it is not as clear as the old output, and adds unnecessary information.

Before rust-lang/rust#145273 (`Diff` style)
![before](https://github.com/user-attachments/assets/36f33635-cbce-45f1-823d-0cbe6f0cfe46)

After rust-lang/rust#145273 ("multi-line" style)
![after](https://github.com/user-attachments/assets/d4cb00b8-5a42-436e-9329-db84347138f0)

The reason for the change was that a new suggestion part (which matches existing code) was added on a different line than the existing parts, causing the suggestion style to change from `Diff` to "multi-line". Since this new part matches existing code, no code changes show up in the output for it, but it still makes the suggestion style "multi-line" when it doesn't need to be.

To get the old output back, I made it so that suggestion parts that perfectly match existing code get filtered out.

try-job: aarch64-apple
</content>
</entry>
<entry>
<title>fix: Filter suggestion parts that match existing code</title>
<updated>2025-09-04T23:42:13+00:00</updated>
<author>
<name>Scott Schafer</name>
<email>schaferjscott@gmail.com</email>
</author>
<published>2025-08-28T02:33:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b307a1146b4af3b5808510e44a13f56f2b0252e9'/>
<id>urn:sha1:b307a1146b4af3b5808510e44a13f56f2b0252e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit 'e9b70454e4c9584be3b22ddabd26b741aeb06c10' into clippy-subtree-update</title>
<updated>2025-09-04T22:27:27+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2025-09-04T22:27:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=75b9ee5f085f695cba061fd9ed7fa3b912dd1bbf'/>
<id>urn:sha1:75b9ee5f085f695cba061fd9ed7fa3b912dd1bbf</id>
<content type='text'>
</content>
</entry>
</feed>
