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
is:issue state:open label:L-unused_assignments
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
Public
Notifications
You must be signed in to change notification settings
Fork
14k
Star
108k
Code
Issues
5k+
Pull requests
907
Actions
Projects
9
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Issues
Search Issues
is
:
issue
state
:
open
label
:
L-unused_assignments
is:issue state:open label:L-unused_assignments
Search
Labels
Milestones
New issue
Search results
Open
Closed
nightly <code>unused_assignments</code> false positives for <code>miette::Diagnostic</code> fields
C-bug
Category: This is a bug.
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
L-unused_assignments
Lint: unused_assignments
Lint: unused_assignments
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
This issue may need triage. Remove it if it has been sufficiently triaged.
P-medium
Medium priority
Medium priority
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
Performance or correctness regression from stable to nightly.
Status: Open.
#147648
In rust-lang/rust;
·
adr1anh
opened
on Oct 13, 2025
<code>unused_assignment</code> triggered by closure even though value is used
A-closures
Area: Closures (`|…| { … }`)
Area: Closures (`|…| { … }`)
A-diagnostics
Area: Messages for errors, warnings, and lints
Area: Messages for errors, warnings, and lints
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
Area: Lints (warnings about flaws in source code) such as unused_mut.
D-imprecise-spans
Diagnostics: spans don't point to exactly the erroneous code
Diagnostics: spans don't point to exactly the erroneous code
L-unused_assignments
Lint: unused_assignments
Lint: unused_assignments
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#141615
In rust-lang/rust;
·
BennoLossin
opened
on May 26, 2025
unused_assignments lint has trouble tracking that one match guard observes assignment from another match guard.
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-patterns
Relating to patterns and pattern matching
Relating to patterns and pattern matching
C-bug
Category: This is a bug.
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
L-false-positive
Lint: False positive (should not have fired).
Lint: False positive (should not have fired).
L-unused_assignments
Lint: unused_assignments
Lint: unused_assignments
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#138069
In rust-lang/rust;
·
pnkfelix
opened
on Mar 5, 2025
unused_assignments warning: false negative for dead stores in struct fields
A-diagnostics
Area: Messages for errors, warnings, and lints
Area: Messages for errors, warnings, and lints
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Category: An issue proposing an enhancement or a PR with one.
L-unused_assignments
Lint: unused_assignments
Lint: unused_assignments
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#49256
In rust-lang/rust;
·
matthiaskrgr
opened
on Mar 22, 2018
Unused assignment warning should trigger for structs
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Category: An issue proposing an enhancement or a PR with one.
L-unused_assignments
Lint: unused_assignments
Lint: unused_assignments
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#16789
In rust-lang/rust;
·
crumblingstatue
opened
on Aug 27, 2014
You can’t perform that action at this time.