Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
GitHub Copilot
Write better code with AI
GitHub Spark
New
Build and deploy intelligent apps
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
Documentation
GitHub Skills
Blog
Integrations
GitHub Marketplace
MCP Registry
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
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
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
is:issue use_self
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.5k
Code
Issues
2.3k
Pull requests
178
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
use_self
is:issue use_self
Search
Labels
Milestones
New issue
Search results
Open
Closed
Extend <code>use_self</code> to structs
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: Closed (completed).
#15555
In rust-lang/rust-clippy;
·
by
nickdrozd
was closed
on Oct 9, 2025
Internal compiler error after upgrading to 1.89.0
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: Closed (completed).
#15429
In rust-lang/rust-clippy;
·
by
camc314
was closed
on Aug 9, 2025
Allow all lints to be configured via <code>clippy.toml</code>
A-ui
Area: Clippy interface, usage and configuration
Area: Clippy interface, usage and configuration
Status: Open.
#15128
In rust-lang/rust-clippy;
·
amab8901
opened
on Jun 25, 2025
<code>cargo clippy --fix</code> tries to apply <code>mul_add</code> but causes <code>[E0689]</code>
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
Status: Closed (completed).
#14897
In rust-lang/rust-clippy;
·
by
nik-sm
was closed
on Jul 6, 2025
<code>use_self</code> false positive on other mod items
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
Status: Closed (completed).
#14030
In rust-lang/rust-clippy;
·
by
akiomik
was closed
on Jan 19, 2025
<code>use_self</code> with different lifetimes
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
Status: Closed (completed).
#13277
In rust-lang/rust-clippy;
·
by
EdJoPaTo
was closed
on Sep 12, 2025
<code>use_self</code> false positive on outer items
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: Closed (completed).
#13092
In rust-lang/rust-clippy;
·
by
awused
was closed
on Feb 6, 2025
<code>use_self</code> does not notice Self with lifetimes
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.
#12381
In rust-lang/rust-clippy;
·
EdJoPaTo
opened
on Feb 28, 2024
Suggest <code>self</code> instead of <code>&self</code> for <code>: Copy</code> types
A-lint
Area: New lints
Area: New lints
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
S-needs-discussion
Status: Needs further discussion before merging or work can be started
Status: Needs further discussion before merging or work can be started
Status: Open.
#12078
In rust-lang/rust-clippy;
·
nyurik
opened
on Jan 2, 2024
Why is <code>use_self</code> deprecated?
S-fixed
Status: Issues that got fixed, waiting to be closed as completed
Status: Issues that got fixed, waiting to be closed as completed
Status: Open.
#11960
In rust-lang/rust-clippy;
·
Kixunil
opened
on Dec 14, 2023
test <code>to_string_in_format_args_incremental</code> fails in a read-only working directory
Status: Closed (completed).
#11126
In rust-lang/rust-clippy;
·
by
Noratrieb
was closed
on Jun 5, 2025
FP use_self requires generic_const_exprs
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.
#10756
In rust-lang/rust-clippy;
·
matthiaskrgr
opened
on May 6, 2023
You can’t perform that action at this time.