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 len_without_is_empty
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
183
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
len_without_is_empty
is:issue len_without_is_empty
Search
Labels
Milestones
New issue
Search results
Open
Closed
<code>expect(len_without_is_empty)</code> can trigger <code>unfulfilled_lint_expectations</code> when not enabled
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
Status: Closed (completed).
#14597
In rust-lang/rust-clippy;
·
by
eric-seppanen
was closed
on Apr 13, 2025
<code>len_without_is_empty</code> doesn't fire in 1.82
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
Status: Closed (completed).
#13555
In rust-lang/rust-clippy;
·
by
eric-seppanen
was closed
on Oct 17, 2024
Respect <code>#[allow(clippy::inconsistent_struct_constructor)]</code> on adt definition.
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
Status: Closed (completed).
#13203
In rust-lang/rust-clippy;
·
by
rzvxa
was closed
on Aug 9, 2024
clippy::len_without_is_empty bug when implementing on a type alias
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
Status: Closed (completed).
#11165
In rust-lang/rust-clippy;
·
by
bobogei81123
was closed
on Sep 14, 2023
<code>len_without_is_empty</code> triggers when both <code>len</code> and <code>is_empty</code> have non-standard signatures
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-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).
#9520
In rust-lang/rust-clippy;
·
by
lopopolo
was closed
on Jan 30, 2023
cargo clippy --fix fail with large code base
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
Status: Closed (completed).
#7919
In rust-lang/rust-clippy;
·
by
Yuri6037
was closed
on Nov 2, 2021
<code>len_without_is_empty</code> on type alias when both <code>len</code> and <code>is_empty</code> are implemented
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).
#7702
In rust-lang/rust-clippy;
·
by
davidcole1340
was closed
on Oct 22, 2024
Most commonly ignored lints on crates.io
A-category
Area: Categorization of lints
Area: Categorization of lints
C-tracking-issue
Category: Tracking Issue
Category: Tracking Issue
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: Closed (completed).
#7666
In rust-lang/rust-clippy;
·
by
dtolnay
was closed
on Oct 9, 2022
len_without_is_empty triggers for async len methods, but does not accept async is_empty methods
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-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).
#7232
In rust-lang/rust-clippy;
·
by
zesterer
was closed
on Mar 9, 2023
<code>len_without_is_empty</code> fires on setters/builders
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).
#7191
In rust-lang/rust-clippy;
·
by
wchargin
was closed
on May 8, 2021
ICE: len_without_is_empty
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).
#7186
In rust-lang/rust-clippy;
·
by
lopopolo
was closed
on May 13, 2021
len_without_is_empty : warning: struct <code>Lru</code> has a public <code>len</code> method, but the <code>is_empty</code> method has an unexpected signature
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).
#6972
In rust-lang/rust-clippy;
·
by
rohitjoshi
was closed
on Mar 27, 2021
You can’t perform that action at this time.