Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rust-lang
/
rust-clippy
Public
Notifications
You must be signed in to change notification settings
Fork
1.9k
Star
12.8k
Code
Issues
2.4k
Pull requests
200
Discussions
Actions
Projects
0
Wiki
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security
Insights
Most commonly ignored lints on crates.io
#7666 ·
dtolnay
opened
on Sep 13, 2021
23
Issues
Search Issues
is
:
issue
state
:
open
is:issue state:open
Search
Labels
Milestones
New issue
Search results
Open
Closed
Add a lint for patterns for enum variants with no fields (unit variants) that don't need to use braces
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
Category: Enhancement of lints, like adding more cases or adding help messages
Status: Open.
#16292
In rust-lang/rust-clippy;
·
ErichDonGubler
opened
on Dec 23, 2025
Suggest zip + repeat_n instead of loop + clone
A-lint
Area: New lints
Area: New lints
Status: Open.
#16291
In rust-lang/rust-clippy;
·
SpriteOvO
opened
on Dec 23, 2025
<code>clippy::obfuscated_if_else</code> expands macros in suggestion
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
Status: Open.
#16288
In rust-lang/rust-clippy;
·
akiramusic000
opened
on Dec 23, 2025
<code>clippy::multiple_inherent_impl</code> should flag generic impl blocks with the same bounds
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
Issue: The lint should have been triggered on code, but wasn't
Status: Open.
#16283
In rust-lang/rust-clippy;
·
joshtriplett
opened
on Dec 21, 2025
<code>bool_assert_comparison</code> suggests wrongly for macros
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
Status: Open.
#16279
In rust-lang/rust-clippy;
·
profetia
opened
on Dec 21, 2025
More complex complexity check(s)
A-lint
Area: New lints
Area: New lints
Status: Open.
#16274
In rust-lang/rust-clippy;
·
worldmind
opened
on Dec 20, 2025
str_to_string expands macros in suggestion
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
Issue: The suggestions provided by this Lint cause an ICE/error when applied
T-macros
Type: Issues with macros and macro expansion
Type: Issues with macros and macro expansion
Status: Open.
#16271
In rust-lang/rust-clippy;
·
matthiaskrgr
opened
on Dec 20, 2025
FP <code>needless-pass-by-ref-mut</code> with lifetimes
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
Issue: The suggestions provided by this Lint cause an ICE/error when applied
Status: Open.
#16267
In rust-lang/rust-clippy;
·
matthiaskrgr
opened
on Dec 19, 2025
<code>map_unwrap_or</code> should suggest <code>is_ok_and(<f>)</code> on a result
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
Issue: The lint should have been triggered on code, but wasn't
Status: Open.
#16258
In rust-lang/rust-clippy;
·
xtqqczze
opened
on Dec 18, 2025
Inconvenient suppressing of the needless_continue lint
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
Status: Open.
#16256
In rust-lang/rust-clippy;
·
stanislav-tkach
opened
on Dec 18, 2025
<code>clippy --fix</code> generates broken code for <code>new_without_default</code> when <code>Foo::new</code> has type bounds
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
Status: Open.
#16255
In rust-lang/rust-clippy;
·
swwu
opened
on Dec 18, 2025
<code>mut_mutex_lock</code>: FP on <code>struct.mutex</code> where <code>struct</code> is behind <code>&</code>
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Issue: The lint was triggered on code it shouldn't have
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
Issue: The suggestions provided by this Lint cause an ICE/error when applied
Status: Open.
#16253
In rust-lang/rust-clippy;
·
ada4a
opened
on Dec 17, 2025
You can’t perform that action at this time.