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 match_wildcard_for_single_variants
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
match_wildcard_for_single_variants
is:issue match_wildcard_for_single_variants
Search
Labels
Milestones
New issue
Search results
Open
Closed
<code>match_wildcard_for_single_variants</code> does not consider <code>#[non_exhaustive]</code> enums
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).
#14249
In rust-lang/rust-clippy;
·
by
WiSaGaN
was closed
on Feb 20, 2025
catch-all in match expression
A-lint
Area: New lints
Area: New lints
Status: Closed (completed).
#12465
In rust-lang/rust-clippy;
·
by
andrewbanchich
was closed
on Mar 16, 2024
<code>wildcard_enum_match_arm</code> lint don't work in case of a single variant
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.
#12115
In rust-lang/rust-clippy;
·
mhnap
opened
on Jan 9, 2024
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
<code>match_wildcard_for_single_variants</code> triggers on guarded wild matches
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).
#9993
In rust-lang/rust-clippy;
·
by
Jarcho
was closed
on Dec 22, 2022
Compiler error when running <code>clippy</code> after the rust <code>1.58</code> update.
Status: Closed (completed).
#8307
In rust-lang/rust-clippy;
·
by
appetrosyan
was closed
on Jan 27, 2022
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
False positive match_wildcard_for_single_variants on enum with hidden variant
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).
#6984
In rust-lang/rust-clippy;
·
by
dtolnay
was closed
on Apr 2, 2021
match_wildcard_for_single_variants should not warn about std types
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).
#6604
In rust-lang/rust-clippy;
·
by
matthiaskrgr
was closed
on Mar 18, 2021
New lint: suggest using the only remaining variant instead of a wildcard
A-lint
Area: New lints
Area: New lints
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
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
T-AST
Type: Requires working with the AST
Type: Requires working with the AST
Status: Closed (completed).
#5556
In rust-lang/rust-clippy;
·
by
ebroto
was closed
on May 20, 2020
You can’t perform that action at this time.