<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/tools/clippy/tests/ui, branch stable</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=stable</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=stable'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-11T11:51:59+00:00</updated>
<entry>
<title>Do not attempt to compute size of a type with escaping lifetimes (#15434)</title>
<updated>2025-09-11T11:51:59+00:00</updated>
<author>
<name>Jason Newcomb</name>
<email>jsnewcomb@pm.me</email>
</author>
<published>2025-08-09T14:09:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4b3008c23bf099b92ca678df4a0d173830bef8c4'/>
<id>urn:sha1:4b3008c23bf099b92ca678df4a0d173830bef8c4</id>
<content type='text'>
A type with escaping bound vars cannot be wrapped in a dummy binder
during size computation.

Fixes rust-lang/rust-clippy#15429

changelog: [`zero_sized_hashmap_values`]: fix ICE in types with escaping
lifetimes

r? Jarcho

&lt;!-- TRIAGEBOT_START --&gt;

&lt;!-- TRIAGEBOT_SUMMARY_START --&gt;

### Summary Notes

- [Beta
nomination](https://github.com/rust-lang/rust-clippy/pull/15434#issuecomment-3164866684)
by [samueltardieu](https://github.com/samueltardieu)

*Managed by `@rustbot`—see
[help](https://forge.rust-lang.org/triagebot/note.html) for details*

&lt;!-- TRIAGEBOT_SUMMARY_END --&gt;
&lt;!-- TRIAGEBOT_END --&gt;
</content>
</entry>
<entry>
<title>Extend `is_case_difference` to handle digit-letter confusables</title>
<updated>2025-07-31T05:55:59+00:00</updated>
<author>
<name>xizheyin</name>
<email>xizheyin@smail.nju.edu.cn</email>
</author>
<published>2025-07-30T16:44:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7b667e7811f4a4b496f38d25c5e824f13638cdbb'/>
<id>urn:sha1:7b667e7811f4a4b496f38d25c5e824f13638cdbb</id>
<content type='text'>
Signed-off-by: xizheyin &lt;xizheyin@smail.nju.edu.cn&gt;
</content>
</entry>
<entry>
<title>Merge commit '1db89a1b1ca87f24bf22d0bad21d14b2d81b3e99' into clippy-subtree-update</title>
<updated>2025-07-25T13:54:22+00:00</updated>
<author>
<name>Philipp Krones</name>
<email>hello@philkrones.com</email>
</author>
<published>2025-07-25T13:54:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a0b18b3318462e630a7689217c192675bb6b2b7b'/>
<id>urn:sha1:a0b18b3318462e630a7689217c192675bb6b2b7b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #144014 - dianne:edition-guide-links, r=estebank</title>
<updated>2025-07-24T13:08:21+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2025-07-24T13:08:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=940376f1b1bbaa22a9eed14ee84a9f6390ffd53a'/>
<id>urn:sha1:940376f1b1bbaa22a9eed14ee84a9f6390ffd53a</id>
<content type='text'>
don't link to the nightly version of the Edition Guide in stable lints

As reported in rust-lang/rust#143557 for `rust_2024_incompatible_pat`, most future-Edition-incompatibility lints link to the nightly version of the Edition Guide; the lints were written before their respective Editions (and their guides) stabilized. But now that Rusts 2021 and 2024 are stable, these lints are emitted on stable versions of the compiler, where it makes more sense to present users with links that don't say "nightly" in them.

This does not change the link for `rust_2024_incompatible_pat`. That's handled in rust-lang/rust#144006.
</content>
</entry>
<entry>
<title>Rollup merge of #144027 - RalfJung:clippy, r=Mark-Simulacrum</title>
<updated>2025-07-21T16:54:28+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2025-07-21T16:54:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a3ab8076941c3711edbdc54db13652850f3476ae'/>
<id>urn:sha1:a3ab8076941c3711edbdc54db13652850f3476ae</id>
<content type='text'>
clippy: make tests work in stage 1

This finally fixes https://github.com/rust-lang/rust/issues/78717 :)

Similar to what Miri already does, the clippy test step needs to carefully consider  which compiler is used to build clippy and which compiler is linked into clippy (and thus must be used to build the test dependencies). On top of that we have some extra complications that Miri avoided by using `cargo-miri` for building its test dependencies: we need cargo to use the right rustc and the right sysroot, but https://github.com/rust-lang/cargo/issues/4423 makes this quite hard to do. See the long comment in `src/tools/clippy/tests/compile-test.rs` for details.

Some clippy tests tried to import rustc crates; that fundamentally requires a full bootstrap loop so it cannot work in stage 1. I had to kind of guess what those tests were doing so I don't know if my changes there make any sense.

Cc ```@flip1995``` ```@Kobzol```
</content>
</entry>
<entry>
<title>clippy: make tests work in stage 1</title>
<updated>2025-07-20T20:55:15+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-07-16T14:25:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=192efbbd209eae7006b05205d507fb8c19802a60'/>
<id>urn:sha1:192efbbd209eae7006b05205d507fb8c19802a60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #143879 - fee1-dead-contrib:push-lrlpoouyqqry, r=fmease</title>
<updated>2025-07-17T15:54:33+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-17T15:54:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9cd918bcbbc26deb005eb4e1bd9a445380195e56'/>
<id>urn:sha1:9cd918bcbbc26deb005eb4e1bd9a445380195e56</id>
<content type='text'>
parse `const trait Trait`

r? oli-obk or anyone from project-const-traits

cc `@rust-lang/project-const-traits`
</content>
</entry>
<entry>
<title>parse `const trait Trait`</title>
<updated>2025-07-17T10:06:26+00:00</updated>
<author>
<name>Deadbeef</name>
<email>ent3rm4n@gmail.com</email>
</author>
<published>2025-07-13T08:49:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=69326878eeabb713e2d4a85215b87f18e498313c'/>
<id>urn:sha1:69326878eeabb713e2d4a85215b87f18e498313c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #143914 - shepmaster:mismatched-lifetime-syntaxes-rewording, r=traviscross,jieyouxu</title>
<updated>2025-07-17T08:41:47+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-07-17T08:41:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=51f16b011da4db4a32d7e5de48437c2d5496db41'/>
<id>urn:sha1:51f16b011da4db4a32d7e5de48437c2d5496db41</id>
<content type='text'>
Reword mismatched-lifetime-syntaxes text based on feedback

Key changes include:

- Removal of the word "syntax" from the lint message. More accurately, it could have been something like "syntax group" or "syntax category", but avoiding it completely is easier.
- The primary lint message now reflects exactly which mismatch is occurring, instead of trying to be general. A new `help` line is general across the mismatch kinds.
- Suggestions have been reduced to be more minimal, no longer also changing non-idiomatic but unrelated aspects.
- Suggestion text no longer mentions changes when those changes don't occur in that specific suggestion.

r? ``@jieyouxu``
</content>
</entry>
<entry>
<title>future-incompat lints: don't link to the nightly edition-guide version</title>
<updated>2025-07-16T08:44:02+00:00</updated>
<author>
<name>dianne</name>
<email>diannes.gm@gmail.com</email>
</author>
<published>2025-07-16T08:44:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=41e6f767b64cebd08e1a25b18dfea7c13bf36a6a'/>
<id>urn:sha1:41e6f767b64cebd08e1a25b18dfea7c13bf36a6a</id>
<content type='text'>
</content>
</entry>
</feed>
