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_same_arms
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
181
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_same_arms
is:issue match_same_arms
Search
Labels
Milestones
New issue
Search results
Open
Closed
Removing @rust-nofix from match_same_arms requires lint fixes
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
Status: Closed (completed).
#13835
In rust-lang/rust-clippy;
·
by
scottgerring
was closed
on May 16, 2025
match_same_arms reports same arm when strings in macro calls are different
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: Open.
#13522
In rust-lang/rust-clippy;
·
ShakenCodes
opened
on Oct 8, 2024
Single branch ifs in the body of a match arm should be made explicit
A-lint
Area: New lints
Area: New lints
L-suspicious
Lint: Belongs in the suspicious lint group
Lint: Belongs in the suspicious lint group
Status: Not planned (skipped).
#12641
In rust-lang/rust-clippy;
·
by
PartiallyUntyped
was closed
on Jul 25, 2024
[epic] False Positive tracking / triaging / categorization
C-tracking-issue
Category: Tracking Issue
Category: Tracking Issue
Status: Open.
#12046
In rust-lang/rust-clippy;
·
PartiallyUntyped
opened
on Dec 29, 2023
<code>match_same_arms</code>: FP if arms have different comments
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).
#12044
In rust-lang/rust-clippy;
·
by
xFrednet
was closed
on Jan 15, 2024
Identical match arm not detected
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-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).
#11223
In rust-lang/rust-clippy;
·
by
vanillajonathan
was closed
on Feb 19, 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
False positive in match_same_arms + non_exhaustive_omitted_patterns
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).
#10327
In rust-lang/rust-clippy;
·
by
dtolnay
was closed
on Jun 15, 2023
False Positive in match_same_arms with cfg!()
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).
#9775
In rust-lang/rust-clippy;
·
by
Dr-Emann
was closed
on May 19, 2023
<code>match-same-arms</code> doesn't delete the old arm when merging
L-suggestion
Lint: Improving, adding or fixing lint suggestions
Lint: Improving, adding or fixing lint suggestions
Status: Closed (completed).
#9251
In rust-lang/rust-clippy;
·
by
tobiasvl
was closed
on May 14, 2024
match_same_arms reports multiple todo! arms
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).
#9204
In rust-lang/rust-clippy;
·
by
leighmcculloch
was closed
on Jul 20, 2022
<code>match_same_arms</code> does not take lifetimes into account
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).
#8919
In rust-lang/rust-clippy;
·
by
hellow554
was closed
on Jun 7, 2024
You can’t perform that action at this time.