<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <generator uri="https://blog.rust-lang.org/tags/clippy/" version="0.1.0">Posts tagged &quot;clippy&quot; | Rust Blog</generator>
    <link href="https://blog.rust-lang.org/tags/clippy/feed.xml" rel="self" type="application/atom+xml" />
    <link href="https://blog.rust-lang.org/tags/clippy/" rel="alternate" type="text/html" />
    <id>https://blog.rust-lang.org/tags/clippy/</id>
    <title>Posts tagged &quot;clippy&quot; | Rust Blog</title>
    <subtitle>Empowering everyone to build reliable and efficient software.</subtitle>
    <author>
        <name>Maintained by the Rust Teams.</name>
        <uri>https://github.com/rust-lang/blog.rust-lang.org/</uri>
    </author>
    <updated>2026-10-20T13:27:04+00:00</updated>

    
    <entry>
        <title>Together for a healthier Clippy</title>
        <link rel="alternate" href="https://blog.rust-lang.org/inside-rust/2026/07/06/unite-for-clippy/" type="text/html" title="Together for a healthier Clippy" />
        <published>2026-07-06T00:00:00+00:00</published>
        <updated>2026-07-06T00:00:00+00:00</updated>
        <id>https://blog.rust-lang.org/inside-rust/2026/07/06/unite-for-clippy/</id>
        <content type="html" xml:base="https://blog.rust-lang.org/inside-rust/2026/07/06/unite-for-clippy/">&lt;h1 id&#x3D;&quot;together-for-a-healthier-clippy&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#together-for-a-healthier-clippy&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
Together for a healthier Clippy&lt;/h1&gt;
&lt;p&gt;Clippy is a very loved piece of software, with the fortune of having many
contributors willing to do high-quality pull requests with very needed features
and bug-fixes. We are extremely thankful for every single contributor who not
only took the time to learn about Clippy’s internals, but also felt comfortable
enough to show their work and maintained communication in order to ship it.&lt;/p&gt;
&lt;p&gt;That’s why we’re addressing them with this health report of Clippy as an open
source project.&lt;/p&gt;
&lt;p&gt;The truth is that Clippy has a reviewing capacity problem, and we’ve been having
it for the last few months. Unlike some other Rust teams, no one from the Clippy
team is currently funded to work on Clippy, not even on a part-time basis. The
burden of maintenance thus falls squarely into the maintainer’s free time,
eventually leading to burnout.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;We hope that the newly established Rust Foundation Maintainers Fund will be able
to help secure some funding for Clippy maintainers. If you&#x27;d like to help,
consider &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/sponsors/rustfoundation&quot;&gt;donating&lt;/a&gt; to the fund.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;That’s why we are launching an initiative in which contributors help themselves
get their pull request reviewed and merged &lt;em&gt;faster&lt;/em&gt;.&lt;/p&gt;
&lt;h2 id&#x3D;&quot;what-does-this-mean&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#what-does-this-mean&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
What does this mean&lt;/h2&gt;
&lt;p&gt;Once a contributor opens a pull request, we propose they review another
contributor’s pull request. That way each contributor reviews at least one pull
request and nobody’s contributions get stale.&lt;/p&gt;
&lt;p&gt;The underlying mechanism looks like this: Once a contributor opens a pull request,
our dear bot &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/rustbot&quot;&gt;@rustbot&lt;/a&gt; will prompt them to look at other
pull requests (preferably ones without any other reviews). After they’ve reviewed
a pull request, the contributor gets on a special &lt;em&gt;secret&lt;/em&gt; list of cool ones, and
priority on their pull request from the team&#x27;s reviewers.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;We want to thank the Bevy project and their &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://shaping.systems/blog/open-code-review/&quot;&gt;&quot;Open Code Review&quot;&lt;/a&gt; system as an
inspiration for this new initiative.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id&#x3D;&quot;we-ve-done-this-in-the-past&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#we-ve-done-this-in-the-past&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
We&#x27;ve done this in the past&lt;/h2&gt;
&lt;p&gt;Clippy is no stranger to health updates of this kind, last year we had the
&lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://blog.rust-lang.org/inside-rust/2025/10/22/clippys-feature-warming-up/&quot;&gt;Feature Freeze&lt;/a&gt;, which was an absolute success. In that process, we gained
knowledge, trust, and the certainty that the Rust community cared about
Clippy, and Clippy doing things &lt;em&gt;right.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Once again, the team wants to thank and congratulate every single person,
contributor or not, that cares about Clippy. Striving for excellence is what
makes this linter (and language) so loved, and with the help of the community
(of YOU), we can help Clippy become stronger and healthier.&lt;/p&gt;
</content>

        <author>
            <name>blyxyas</name>
        </author>
    </entry>
    <entry>
        <title>What we learned with Clippy&#x27;s feature freeze</title>
        <link rel="alternate" href="https://blog.rust-lang.org/inside-rust/2025/10/22/clippys-feature-warming-up/" type="text/html" title="What we learned with Clippy&#x27;s feature freeze" />
        <published>2025-10-22T00:00:00+00:00</published>
        <updated>2025-10-22T00:00:00+00:00</updated>
        <id>https://blog.rust-lang.org/inside-rust/2025/10/22/clippys-feature-warming-up/</id>
        <content type="html" xml:base="https://blog.rust-lang.org/inside-rust/2025/10/22/clippys-feature-warming-up/">&lt;p&gt;The &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://blog.rust-lang.org/inside-rust/2025/06/21/announcing-the-clippy-feature-freeze/&quot;&gt;feature freeze affecting Clippy&lt;/a&gt; has reached its end date. This means that the Clippy project has been accepting pull
requests that add new features (and new lints) for a while.&lt;/p&gt;
&lt;p&gt;The Clippy team has reviewed the results, and we can say that it&#x27;s been a success 🎉. It has been so great that we managed
to create an all-time peak in the number of pull requests opened in a week.&lt;/p&gt;
&lt;p&gt;In this plot we can observe that peak (the red lines mark the start and end of the feature freeze)&lt;/p&gt;
&lt;p&gt;&lt;img src&#x3D;&quot;https://blog.rust-lang.org/inside-rust/2025/10/22/clippys-feature-warming-up/./prs_per_week.png&quot; alt&#x3D;&quot;Plot of PRs per week, we can see an all-time peak when the feature freeze happens&quot; /&gt;&lt;/p&gt;
&lt;p&gt;After some data crunching of those pull requests opened after June 26th, we had 18 pull requests open in that period
that added lints. With 326 pull requests open by both new and old contributors, we want to highlight all the new people
that started contributing to Clippy, 47 new contributors who opened a total of 195 pull requests.&lt;/p&gt;
&lt;p&gt;On a team meeting, we concluded that the results of the feature freeze were positive enough to warrant a future one.
The cadence and duration of these is still being decided.&lt;/p&gt;
&lt;p&gt;58% of all pull requests by new contributors (114 out of the total 195) were opened by the same person. We held a meeting with her (&lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/ada4a&quot;&gt;ada4a&lt;/a&gt; on Github) to iron out some of the details of
the codebase and our procedures for new contributors. We are currently analyzing that meeting in order to improve
the experience for future and current contributors.&lt;/p&gt;
&lt;p&gt;We also asked some questions to Ada (ada4a) to include as a mini Q&amp;amp;A, here are some of the answers.&lt;/p&gt;
&lt;h2 id&#x3D;&quot;ada-s-q-a&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#ada-s-q-a&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
Ada&#x27;s Q&amp;amp;A&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;Why do you like contributing to Clippy? What&#x27;s so fun about it?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I came to enjoy improving the suggestions that Clippy makes: they are
fascinating in how they point out the exact part of code that is
problematic, and show the (sometimes pretty complex) manipulations required to
fix it. Also, It has been empowering to learn the machinery behind the
compiler, and use that knowledge to refine these diagnostics even further.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Would you recommend contributing to Clippy? Why or why not?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Yes, for multiple reasons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Rust is (in)famously hard to learn, and to me, Clippy is one of the parts of the
toolchain most helpful for beginners, as it teaches idiomatic style and helps
discover helpful functions from std -- thus, contributing to it helps reduce the
entry barrier of the language.&lt;/li&gt;
&lt;li&gt;If you, like me, wanted to learn the inner workings of the compiler and contribute
to it some day, but were intimidated by the &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html&quot;&gt;development setup required for that&lt;/a&gt;,
Clippy could be a nice stepping stone, as hacking on it doesn&#x27;t require compiling
rustc, but it interacts with a lot of compiler&#x27;s data structures and APIs.&lt;/li&gt;
&lt;/ul&gt;
</content>

        <author>
            <name>blyxyas</name>
        </author>
    </entry>
    <entry>
        <title>Announcing the Clippy feature freeze</title>
        <link rel="alternate" href="https://blog.rust-lang.org/inside-rust/2025/06/21/announcing-the-clippy-feature-freeze/" type="text/html" title="Announcing the Clippy feature freeze" />
        <published>2025-06-21T00:00:00+00:00</published>
        <updated>2025-06-21T00:00:00+00:00</updated>
        <id>https://blog.rust-lang.org/inside-rust/2025/06/21/announcing-the-clippy-feature-freeze/</id>
        <content type="html" xml:base="https://blog.rust-lang.org/inside-rust/2025/06/21/announcing-the-clippy-feature-freeze/">&lt;p&gt;The Clippy project will be on feature-freeze for 12 weeks, starting from Rust
1.89.0 beta (June 26th 2025) to September 18th 2025 (Rust 1.89.0 stable
release). During this time no new features will be accepted, only bug fixes.&lt;/p&gt;
&lt;p&gt;This &lt;em&gt;feature freeze&lt;/em&gt; comes from a lack of the necessary capacity needed
to maintain all the current lints (over 750 of them 😱) and still add new ones.
We need to care for the Clippy project the same way that Clippy cares about our
code, and note that every single one of them needs maintaining and accounting
for current and future changes in the compiler as a whole.&lt;/p&gt;
&lt;p&gt;As a team we’ll focus on making contributing the best it can be, and mark the
issues that could be great as a starting point to get familiar with the project.&lt;/p&gt;
&lt;h2 id&#x3D;&quot;what-can-i-expect-as-a-user&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#what-can-i-expect-as-a-user&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
What can I expect as a user?&lt;/h2&gt;
&lt;p&gt;As a user you can expect to have more accurate lints, with less false positives
and more edge cases covered. A bump into Clippy’s toolchain would not involve
the same risk for false positives as it has been until now. We hope that by
upping the standard for lints all around the project we can allow users to
expect even more from the already great linter.&lt;/p&gt;
&lt;p&gt;If you have a lint which you want to be implemented, you can still open an
issue for it, but PRs adding new lints won&#x27;t be reviewed during the feature
freeze. Instead, they will be put into a queue and reviewed (and merged) after
the feature freeze is over.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Open pull requests that add new lints and are in a &lt;strong&gt;very&lt;/strong&gt; advanced state
might still get reviewed and/or merged during the feature freeze.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id&#x3D;&quot;can-i-help&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#can-i-help&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
Can I help?&lt;/h2&gt;
&lt;p&gt;As always, any help on the project is very appreciated. Apart from opening bug
reports, you can follow &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/rust-lang/rust-clippy/blob/master/CONTRIBUTING.md&quot;&gt;our contributing guidelines&lt;/a&gt; and check &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/rust-lang/rust-clippy/issues/15086&quot;&gt;our suggested
good first issues&lt;/a&gt; for opening pull requests. Everything from fixing diagnostic
issues and improving documentation, to fixing application-wide crashes
really helps Clippy get into the excellent state that our users deserve.&lt;/p&gt;
&lt;p&gt;If you need direct help when fixing a bug, don&#x27;t hesitate to open a thread on
&lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://rust-lang.zulipchat.com/#narrow/channel/257328-clippy&quot;&gt;Zulip&lt;/a&gt; and/or open a draft PR with the questions you have in order to start
the feedback stream.&lt;/p&gt;
&lt;h2 id&#x3D;&quot;conclusion&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#conclusion&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
Conclusion&lt;/h2&gt;
&lt;p&gt;Thanks a lot for all these years of supporting Clippy, we hope that via this
little feature hiatus we can achieve the excellence that the Rust user base
deserves.&lt;/p&gt;
</content>

        <author>
            <name>blyxyas</name>
        </author>
    </entry>
    <entry>
        <title>Clippy: Deprecating &#x60;feature &#x3D; &quot;cargo-clippy&quot;&#x60;</title>
        <link rel="alternate" href="https://blog.rust-lang.org/2024/02/28/Clippy-deprecating-feature-cargo-clippy/" type="text/html" title="Clippy: Deprecating &#x60;feature &#x3D; &quot;cargo-clippy&quot;&#x60;" />
        <published>2024-02-28T00:00:00+00:00</published>
        <updated>2024-02-28T00:00:00+00:00</updated>
        <id>https://blog.rust-lang.org/2024/02/28/Clippy-deprecating-feature-cargo-clippy/</id>
        <content type="html" xml:base="https://blog.rust-lang.org/2024/02/28/Clippy-deprecating-feature-cargo-clippy/">&lt;p&gt;Since Clippy &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/rust-lang/rust-clippy/blob/61daf674eaf17f3b504c51f01b4ee63fac47dfcf/CHANGELOG.md?plain&#x3D;0#0097--2016-11-03&quot;&gt;&lt;code&gt;v0.0.97&lt;/code&gt;&lt;/a&gt; and before it was shipped with &lt;code&gt;rustup&lt;/code&gt;, Clippy
implicitly added a &lt;code&gt;feature &#x3D; &quot;cargo-clippy&quot;&lt;/code&gt; config&lt;sup class&#x3D;&quot;footnote-reference&quot; id&#x3D;&quot;fr-1-1&quot;&gt;&lt;a href&#x3D;&quot;https://blog.rust-lang.org/2024/02/28/Clippy-deprecating-feature-cargo-clippy/#fn-1&quot;&gt;[1]&lt;/a&gt;&lt;/sup&gt; when linting your code
with &lt;code&gt;cargo clippy&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Back in the day (2016) this was necessary to allow, warn or deny Clippy lints
using attributes:&lt;/p&gt;
&lt;pre class&#x3D;&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang&#x3D;&quot;rust&quot;&gt;&lt;span class&#x3D;&quot;giallo-l&quot;&gt;&lt;span&gt;#&lt;/span&gt;&lt;span&gt;[&lt;/span&gt;&lt;span&gt;cfg_attr&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;feature &lt;/span&gt;&lt;span class&#x3D;&quot;z-l-14&quot;&gt;&#x3D;&lt;/span&gt;&lt;span class&#x3D;&quot;z-l-2 z-d-13&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class&#x3D;&quot;z-l-19 z-d-13&quot;&gt;cargo-clippy&lt;/span&gt;&lt;span class&#x3D;&quot;z-l-2 z-d-13&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; allow&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;clippy_lint_name&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Doing this hasn&#x27;t been necessary for a long time. Today, Clippy users will set
lint levels with tool lint attributes using the &lt;code&gt;clippy::&lt;/code&gt; prefix:&lt;/p&gt;
&lt;pre class&#x3D;&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang&#x3D;&quot;rust&quot;&gt;&lt;span class&#x3D;&quot;giallo-l&quot;&gt;&lt;span&gt;#&lt;/span&gt;&lt;span&gt;[&lt;/span&gt;&lt;span&gt;allow&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;clippy&lt;/span&gt;&lt;span class&#x3D;&quot;z-l-1&quot;&gt;::&lt;/span&gt;&lt;span&gt;lint_name&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The implicit &lt;code&gt;feature &#x3D; &quot;cargo-clippy&quot;&lt;/code&gt; has only been kept for backwards
compatibility, but will be deprecated in upcoming nightlies and later in
&lt;code&gt;1.78.0&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id&#x3D;&quot;alternative&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#alternative&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
Alternative&lt;/h2&gt;
&lt;p&gt;As there is a rare &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://doc.rust-lang.org/clippy/configuration.html#disabling-evaluation-of-certain-code&quot;&gt;use case&lt;/a&gt; for conditional compilation depending on Clippy,
we will provide an alternative. So in the future (&lt;code&gt;1.78.0&lt;/code&gt;) you will be able to
use:&lt;/p&gt;
&lt;pre class&#x3D;&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang&#x3D;&quot;rust&quot;&gt;&lt;span class&#x3D;&quot;giallo-l&quot;&gt;&lt;span&gt;#&lt;/span&gt;&lt;span&gt;[&lt;/span&gt;&lt;span&gt;cfg&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;clippy&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id&#x3D;&quot;transitioning&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#transitioning&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
Transitioning&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;Should you only use stable toolchains, you can wait with the transition until
Rust &lt;code&gt;1.78.0&lt;/code&gt; (2024-05-02) is released.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Should you have instances of &lt;code&gt;feature &#x3D; &quot;cargo-clippy&quot;&lt;/code&gt; in your code base, you
will see a warning from the new Clippy lint
&lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://rust-lang.github.io/rust-clippy/master/index.html#/deprecated_clippy_cfg_attr&quot;&gt;&lt;code&gt;clippy::deprecated_clippy_cfg_attr&lt;/code&gt;&lt;/a&gt; available in the latest nightly Clippy.
This lint can automatically fix your code. So if you should see this lint
triggering, just run:&lt;/p&gt;
&lt;pre class&#x3D;&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang&#x3D;&quot;plain&quot;&gt;&lt;span class&#x3D;&quot;giallo-l&quot;&gt;&lt;span&gt;cargo clippy --fix -- -Aclippy::all -Wclippy::deprecated_clippy_cfg_attr&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This will fix all instances in your code.&lt;/p&gt;
&lt;p&gt;In addition, check your &lt;code&gt;.cargo/config&lt;/code&gt; file for:&lt;/p&gt;
&lt;pre class&#x3D;&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang&#x3D;&quot;toml&quot;&gt;&lt;span class&#x3D;&quot;giallo-l&quot;&gt;&lt;span&gt;[&lt;/span&gt;&lt;span&gt;target&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;&amp;#39;cfg(feature&lt;/span&gt;&lt;span&gt; &#x3D;&lt;/span&gt;&lt;span&gt; &amp;quot;cargo-clippy&amp;quot;)&amp;#39;&lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&lt;/span&gt;
&lt;span class&#x3D;&quot;giallo-l&quot;&gt;&lt;span class&#x3D;&quot;z-l-4 z-d-9&quot;&gt;rustflags&lt;/span&gt;&lt;span&gt; &#x3D;&lt;/span&gt;&lt;span&gt; [&lt;/span&gt;&lt;span class&#x3D;&quot;z-l-2 z-d-13&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class&#x3D;&quot;z-l-19 z-d-13&quot;&gt;-Aclippy::...&lt;/span&gt;&lt;span class&#x3D;&quot;z-l-2 z-d-13&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you have this config, you will have to update it yourself, by either changing
it to &lt;code&gt;cfg(clippy)&lt;/code&gt; or taking this opportunity to transition to &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://doc.rust-lang.org/cargo/reference/manifest.html#the-lints-section&quot;&gt;setting lint
levels in &lt;code&gt;Cargo.toml&lt;/code&gt;&lt;/a&gt; directly.&lt;/p&gt;
&lt;h2 id&#x3D;&quot;motivation-for-deprecation&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#motivation-for-deprecation&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
Motivation for Deprecation&lt;/h2&gt;
&lt;p&gt;Currently, there&#x27;s a &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/rust-lang/rfcs/pull/3013#issuecomment-1936648479&quot;&gt;call for testing&lt;/a&gt;, in order to stabilize &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/rust-lang/rfcs/pull/3013&quot;&gt;checking
conditional compilation at compile time&lt;/a&gt;, aka &lt;code&gt;cargo check -Zcheck-cfg&lt;/code&gt;. If we were to keep the &lt;code&gt;feature &#x3D; &quot;cargo-clippy&quot;&lt;/code&gt; config, users
would start seeing a lot of warnings on their &lt;code&gt;feature &#x3D; &quot;cargo-clippy&quot;&lt;/code&gt;
conditions. To work around this, they would either need to allow the lint or
have to add a dummy feature to their &lt;code&gt;Cargo.toml&lt;/code&gt; in order to silence those
warnings:&lt;/p&gt;
&lt;pre class&#x3D;&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang&#x3D;&quot;toml&quot;&gt;&lt;span class&#x3D;&quot;giallo-l&quot;&gt;&lt;span&gt;[&lt;/span&gt;&lt;span&gt;features&lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&lt;/span&gt;
&lt;span class&#x3D;&quot;giallo-l&quot;&gt;&lt;span class&#x3D;&quot;z-l-4 z-d-9&quot;&gt;cargo-clippy&lt;/span&gt;&lt;span&gt; &#x3D;&lt;/span&gt;&lt;span&gt; [&lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;We didn&#x27;t think this would be user friendly, and decided that instead we want to
deprecate the implicit &lt;code&gt;feature &#x3D; &quot;cargo-clippy&quot;&lt;/code&gt; config and replace it with the
&lt;code&gt;clippy&lt;/code&gt; config.&lt;/p&gt;
&lt;section class&#x3D;&quot;footnotes&quot;&gt;
&lt;ol class&#x3D;&quot;footnotes-list&quot;&gt;
&lt;li id&#x3D;&quot;fn-1&quot;&gt;
&lt;p&gt;It&#x27;s likely that you didn&#x27;t even know that Clippy implicitly sets this
config (which was not a Cargo feature). This is intentional, as we stopped
advertising and documenting this a long time ago. &lt;a href&#x3D;&quot;https://blog.rust-lang.org/2024/02/28/Clippy-deprecating-feature-cargo-clippy/#fr-1-1&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/section&gt;
</content>

        <author>
            <name>The Clippy Team</name>
        </author>
    </entry>
    <entry>
        <title>Changes at the Clippy Team</title>
        <link rel="alternate" href="https://blog.rust-lang.org/inside-rust/2022/07/13/clippy-team-changes/" type="text/html" title="Changes at the Clippy Team" />
        <published>2022-07-13T00:00:00+00:00</published>
        <updated>2022-07-13T00:00:00+00:00</updated>
        <id>https://blog.rust-lang.org/inside-rust/2022/07/13/clippy-team-changes/</id>
        <content type="html" xml:base="https://blog.rust-lang.org/inside-rust/2022/07/13/clippy-team-changes/">&lt;h2 id&#x3D;&quot;new-members&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#new-members&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
New Members&lt;/h2&gt;
&lt;p&gt;We are thrilled to publicly announce that &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/Alexendoo&quot;&gt;Alex
Macleod&lt;/a&gt;, &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/dswij&quot;&gt;dswij&lt;/a&gt;, and
&lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/Jarcho&quot;&gt;Jason Newcomb&lt;/a&gt; have joined the Clippy Team!&lt;/p&gt;
&lt;p&gt;Jason has been contributing to Clippy since late 2020 and was the most active
contributor since then. He has contributed in pretty much every area - big
refactors, bug fixes, and major improvements to our Clippy utils. Having him as
an additional reviewer will be a great improvement to the team.&lt;/p&gt;
&lt;p&gt;dswij first started contributing late last summer and has fixed many bugs in
Clippy as well as implementing some new lints to make Clippy even more helpful.
With their continued contributions to Clippy and engagement in the project,
we&#x27;re happy to now have them as a full team member.&lt;/p&gt;
&lt;p&gt;Alex started contributing to Clippy shortly after and has improved our dev
tooling quite a bit. Now he wants to continue focusing on our &lt;code&gt;lintcheck&lt;/code&gt; tool,
which will help detect false positives in new lints before we release them to
the public. We&#x27;re excited to have Alex on our team and looking forward to all
the improvements he will bring in the future.&lt;/p&gt;
&lt;p&gt;With the new additions to the team, we should be able to handle our long PR
queue better. We currently have over 40 open PRs, which is a good sign for the
health of the project, but doesn&#x27;t help when we don&#x27;t have the reviewers to
merge them. Now we do!&lt;/p&gt;
&lt;h2 id&#x3D;&quot;alumni&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#alumni&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
Alumni&lt;/h2&gt;
&lt;p&gt;At the same time, we recently granted some of our oldest members the
well-deserved alumni status. We want to thank &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/killercup&quot;&gt;Pascal
Hertleif&lt;/a&gt; and &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/mcarton&quot;&gt;Martin
Carton&lt;/a&gt; for all their contributions, especially in
the early days. People joining today probably never worked with them on Clippy,
but without them, we probably wouldn&#x27;t be here.&lt;/p&gt;
&lt;p&gt;We also want to thank &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/phansch&quot;&gt;Philipp Hansch&lt;/a&gt; for their
contributions to Clippy and all of the review work they&#x27;ve done over the years.
To this day phansch is one of the most active Clippy contributors (measured by
the number of commits).&lt;/p&gt;
&lt;p&gt;And finally, thank you to &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/mikerite&quot;&gt;mikerite&lt;/a&gt;, who stepped
down from an active reviewer/team member position but will be staying on as a
contributor. We&#x27;re looking forward to continue working with them!&lt;/p&gt;
</content>

        <author>
            <name>Philipp Krones</name>
        </author>
    </entry>
    <entry>
        <title>Clippy is removing its plugin interface</title>
        <link rel="alternate" href="https://blog.rust-lang.org/inside-rust/2019/11/04/Clippy-removes-plugin-interface/" type="text/html" title="Clippy is removing its plugin interface" />
        <published>2019-11-04T00:00:00+00:00</published>
        <updated>2019-11-04T00:00:00+00:00</updated>
        <id>https://blog.rust-lang.org/inside-rust/2019/11/04/Clippy-removes-plugin-interface/</id>
        <content type="html" xml:base="https://blog.rust-lang.org/inside-rust/2019/11/04/Clippy-removes-plugin-interface/">&lt;p&gt;Today, we&#x27;re announcing that Clippy will completely remove its plugin interface.
Using the plugin interface has been deprecated for about one and a half year now
(&lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/rust-lang/rust-clippy/pull/2712&quot;&gt;rust-lang/rust-clippy#2712&lt;/a&gt;). Since then, an unsilenceable warning has been
emitted. Now that compiler plugins are officially deprecated
(&lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/rust-lang/rust/pull/64675&quot;&gt;rust-lang/rust#64675&lt;/a&gt;), Clippy will remove its support for the plugin
interface completely (&lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/rust-lang/rust-clippy/pull/4714&quot;&gt;rust-lang/rust-clippy#4714&lt;/a&gt;). This change will hit stable
with version 1.41.0.&lt;/p&gt;
&lt;h3 id&#x3D;&quot;does-this-post-affect-me&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#does-this-post-affect-me&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
Does this post affect me?&lt;/h3&gt;
&lt;p&gt;Most likely, no. This post only affects you, if you&#x27;re still using Clippy
through its plugin interface. If you do so, you get the warning&lt;/p&gt;
&lt;pre class&#x3D;&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang&#x3D;&quot;plain&quot;&gt;&lt;span class&#x3D;&quot;giallo-l&quot;&gt;&lt;span&gt;warning: the clippy plugin is being deprecated, please use cargo clippy or rls with the clippy feature&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;when compiling your crate. If you don&#x27;t see this warning, nothing will change
for you.&lt;/p&gt;
&lt;h3 id&#x3D;&quot;how-do-i-migrate-from-the-plugin-interface&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#how-do-i-migrate-from-the-plugin-interface&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
How do I migrate from the plugin interface?&lt;/h3&gt;
&lt;p&gt;If you are still using the Clippy plugin interface, here are some steps you can
take to migrate to &lt;code&gt;cargo clippy&lt;/code&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;Cargo.toml&lt;/code&gt;: Remove every occurrence of the &lt;code&gt;clippy&lt;/code&gt; dependency and the
&lt;code&gt;clippy&lt;/code&gt; feature.&lt;/li&gt;
&lt;li&gt;Completely remove every occurrence of &lt;code&gt;feature(plugin)&lt;/code&gt; and &lt;code&gt;plugin(clippy)&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Replace every occurrence of &lt;code&gt;feature &#x3D; &quot;clippy&quot;&lt;/code&gt; with &lt;code&gt;feature &#x3D; &quot;cargo-clippy&quot;&lt;/code&gt;. The &lt;code&gt;cargo-clippy&lt;/code&gt; feature is automatically enabled when
running &lt;code&gt;cargo clippy&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;CI: You now have to install Clippy via rustup, with &lt;code&gt;rustup component add clippy&lt;/code&gt;. Once installed, you can run &lt;code&gt;cargo clippy&lt;/code&gt; (for more usage
instructions, see the &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/rust-lang/rust-clippy#usage&quot;&gt;Clippy &lt;code&gt;README&lt;/code&gt;&lt;/a&gt;). Note that Clippy is not included in
every nightly, but you can check its availability on the &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://rust-lang.github.io/rustup-components-history/index.html&quot;&gt;rustup components
history&lt;/a&gt; page.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id&#x3D;&quot;where-should-i-go-if-i-have-more-questions&quot;&gt;&lt;a class&#x3D;&quot;anchor&quot; href&#x3D;&quot;#where-should-i-go-if-i-have-more-questions&quot; aria-hidden&#x3D;&quot;true&quot;&gt;&lt;/a&gt;
Where should I go if I have more questions?&lt;/h3&gt;
&lt;p&gt;If you need help with migrating from the plugin interface, you can contact us
via &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://discord.gg/vNNtpyD&quot;&gt;Discord&lt;/a&gt; or open an issue on &lt;a rel&#x3D;&quot;external&quot; href&#x3D;&quot;https://github.com/rust-lang/rust-clippy/issues/new&quot;&gt;GitHub&lt;/a&gt;.&lt;/p&gt;
</content>

        <author>
            <name>Philipp Krones</name>
        </author>
    </entry>
</feed>
