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
Discover and 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.8k
Star
12.6k
Code
Issues
2.3k
Pull requests
198
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
<code>needless_borrowed_reference</code> does not handle mutable references
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
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
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
Call for participation: Medium difficulty level problem and requires some initial experience.
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.
#16022
In rust-lang/rust-clippy;
·
Jarcho
opened
on Nov 3, 2025
<code>while_let_on_iterator</code> suggested solution doesn't work in default implementations of traits without explicit <code>Sized</code> bound
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
good first issue
These issues are a good way to get started with Clippy
These issues are a good way to get started with Clippy
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.
#16019
In rust-lang/rust-clippy;
·
mks-h
opened
on Nov 3, 2025
clone-on-ref-ptr suggested path does not work
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.
#16016
In rust-lang/rust-clippy;
·
matthiaskrgr
opened
on Nov 2, 2025
match_like_matches_macro macro gets expanded in suggestion when matching on macro
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
T-macros
Type: Issues with macros and macro expansion
Type: Issues with macros and macro expansion
Status: Open.
#16015
In rust-lang/rust-clippy;
·
matthiaskrgr
opened
on Nov 2, 2025
<code>nonminimal-bool</code> mangles <code>vec!</code>s that were compared
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
T-macros
Type: Issues with macros and macro expansion
Type: Issues with macros and macro expansion
Status: Open.
#16014
In rust-lang/rust-clippy;
·
matthiaskrgr
opened
on Nov 2, 2025
redundant-else: reduced scope clashes with same-name statics
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
P-low
Priority: Low
Priority: Low
Status: Open.
#16013
In rust-lang/rust-clippy;
·
matthiaskrgr
opened
on Nov 2, 2025
FP <code>redundant_iter_cloned</code> <code>move || { .. </code> into thread
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.
#16012
In rust-lang/rust-clippy;
·
matthiaskrgr
opened
on Nov 2, 2025
<code>useless_conversion</code> causes syntax error
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.
#16010
In rust-lang/rust-clippy;
·
matthiaskrgr
opened
on Nov 2, 2025
ICE dbg_macro
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-ICE
Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
Status: Open.
#16008
In rust-lang/rust-clippy;
·
matthiaskrgr
opened
on Nov 2, 2025
Lint to detect hardcoded doc links in macro generated methods that should not be hardcoded
A-lint
Area: New lints
Area: New lints
Status: Open.
#16007
In rust-lang/rust-clippy;
·
lolbinarycat
opened
on Nov 1, 2025
const assert in struct is not always evaluated
A-lint
Area: New lints
Area: New lints
Status: Open.
#16004
In rust-lang/rust-clippy;
·
arifd
opened
on Nov 1, 2025
<code>needless_range_loop</code> suggestion removes panics
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
good first issue
These issues are a good way to get started with Clippy
These issues are a good way to get started with Clippy
I-suggestion-causes-bug
Issue: The suggestion compiles but changes the code to behave in an unintended way
Issue: The suggestion compiles but changes the code to behave in an unintended way
Status: Open.
#16003
In rust-lang/rust-clippy;
·
Jarcho
opened
on Nov 1, 2025
You can’t perform that action at this time.